tomwer.core.process.drac.publish.PublishICatDatasetTask#
- class tomwer.core.process.drac.publish.PublishICatDatasetTask(varinfo=None, inputs=None, node_id=None, node_attrs=None, execinfo=None)#
publish a list of ‘IcatDataBase’ instances.
IcatDataBase provide API to retrieve data and metadata to be publish
input field: * data_portal_processed_datasets: list of ‘DracDatasetBase’ instances. * beamline: name of the beamline (bm05, id19…) * proposal: proposal name
- publish_to_data_portal(path, metadata, raw, dataset)#
publish path to data_portal (drac) with given metadata
- run()#
To be implemented by the derived classes