dodal.common.visit.StaticVisitDirectoryProvider#

class dodal.common.visit.StaticVisitDirectoryProvider[source]#

Static (single visit) implementation of DirectoryProvider whilst awaiting auth infrastructure to generate necessary information per-scan. Allows setting a singular visit into which all run files will be saved. update() queries a visit service to get the next DataCollectionIdentifier to increment the suffix of all file writers’ next files. Requires that all detectors are running with a mutual view on the filesystem. Supports a single Visit which should be passed as a Path relative to the root of the Detector IOC mounting. i.e. to write to visit /dls/ixx/data/YYYY/cm12345-1, assuming all detectors are mounted with /data -> /dls/ixx/data, root=/data/YYYY/cm12345-1/

Parameters:

Methods

update()

Creates a new data collection in the current visit.

async update() None[source]#

Creates a new data collection in the current visit.

Return type:

None