dodal.common.visit.StaticVisitPathProvider#
- class dodal.common.visit.StaticVisitPathProvider[source]#
Static (single visit) implementation of PathProvider 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
- Parameters:
beamline (
str
)root (
Path
)client (
DirectoryServiceClient
|None
, default:None
)
Methods
data_session
()update
(**kwargs)Creates a new data collection in the current visit.