pyicat_plus.tests.servers.icat_db.IcatDb#

class pyicat_plus.tests.servers.icat_db.IcatDb(root_dir=None)[source]#

Bases: object

Parameters:

root_dir (Optional[str])

get_datasets(investigation_id)[source]#
Return type:

List[Dict]

get_investigations(instrument, experiment)[source]#
Parameters:
  • instrument (str)

  • experiment (str)

Return type:

List[Dict]

start_investigation(investigation)[source]#
Parameters:

investigation (dict)

Return type:

None

store_dataset(dataset)[source]#
Parameters:

dataset (dict)

Return type:

None

update_dataset(dataset_id)[source]#
Parameters:

dataset_id (int)

Return type:

Generator[dict, None, None]