You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when ''publishing'' a datafile to the archives it is stored in the [https://github.com/mantidproject/mantid/blob/master/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp#L887 Default (first)] dataset alongside the raw experiment data. Instead, analyzed data published from Mantid should be stored in a separate dataset (named mantid).
To achieve this, I need to:
Loop over the datasets for the specific investigation.
Set the [https://github.com/mantidproject/mantid/blob/master/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp#L862 datasetID] to the dataset ID of the mantid dataset if it exists.
When the loop is complete, check if datasetID is still it's default value. If it is, then no mantid dataset was found. As no dataset was found, we need to create one via createMantidDataset'''*'''.
'''*'''
This method will create a dataset named mantid for a given investigationID. I will need to call isAccessAllowed prior to create to verify if I can create the dataset. If I cannot then I should return -1 and output a notice().
Keywords: ICAT
The text was updated successfully, but these errors were encountered:
Original Reporter: Jay Rainey
Currently, when ''publishing'' a datafile to the archives it is stored in the [https://github.com/mantidproject/mantid/blob/master/Code/Mantid/Framework/ICat/src/ICat4/ICat4Catalog.cpp#L887 Default (first)] dataset alongside the raw experiment data. Instead, analyzed data published from Mantid should be stored in a separate dataset (named
mantid
).To achieve this, I need to:
mantid
dataset if it exists.mantid
dataset was found. As no dataset was found, we need to create one viacreateMantidDataset
'''*'''.'''*'''
This method will create a dataset named
mantid
for a given investigationID. I will need to callisAccessAllowed
prior tocreate
to verify if I can create the dataset. If I cannot then I should return -1 and output anotice()
.Keywords: ICAT
The text was updated successfully, but these errors were encountered: