DesignCache.locate

DesignCache.locate#

DesignCache.locate()[source]#

Return the directory of the design a header names.

The scan is named by SCAN_PARAMETER and the design by DESIGN_PARAMETER, each a userParameterString: the design is <store>/<scan>/<id>/.

Raises:
  • ValueError – If the header names no scan or no design, names a scan by something that is not a directory name, or a design by something that is not an identifier.

  • FileNotFoundError – If the scan holds no such design.