mxcubecore.HardwareObjects.ESRF.SSXICATLIMS#

Classes

SSXICATLIMS(name)

ICAT+ client for SSX.

SsxDataCollectionMetadataGatherer()

Assembles the metadata for a finished SSX data collection, in the format expected by ICAT (via pyicat-plus) and metadata.json.

class mxcubecore.HardwareObjects.ESRF.SSXICATLIMS.SSXICATLIMS(name)[source]#

Bases: ICATLIMS

ICAT+ client for SSX.

finalize_data_collection(parameters)[source]#

Finalizes the collection with “collection_id”, provided in datacollection_dict.

Structure of datacollection_dict as defined in store_data_collection above.

Parameters:

datacollection_dict –

store_data_collection(parameters, bl_config=None)[source]#

Store the dictionary with the information about the beamline to be sent when a dataset is produced.

update_data_collection(parameters)[source]#

Update data collection.

class mxcubecore.HardwareObjects.ESRF.SSXICATLIMS.SsxDataCollectionMetadataGatherer[source]#

Bases: object

Assembles the metadata for a finished SSX data collection, in the format expected by ICAT (via pyicat-plus) and metadata.json.

Independent of any LIMS hardware object instance or of how the resulting metadata is subsequently written to disk or uploaded - it only reads beamline state and the collection’s own parameters.

gather(parameters: dict) → dict[source]#

Assemble the metadata for a finished SSX data collection.

Returns a dict with keys “data”, “rounded_data”, “data_path”, “beamline”, “proposal” and “dataset_name”.

Parameters:

parameters (dict) –

Return type:

dict