DesignCache.locate#
- DesignCache.locate()[source]#
Return the directory of the design a header names.
The scan is named by
SCAN_PARAMETERand the design byDESIGN_PARAMETER, each auserParameterString: 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.