Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create mantid dataset for published data #10219

Closed
mantid-builder opened this issue Apr 25, 2014 · 1 comment
Closed

Create mantid dataset for published data #10219

mantid-builder opened this issue Apr 25, 2014 · 1 comment
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@mantid-builder
Copy link
Collaborator

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:

  1. Loop over the datasets for the specific investigation.
  2. 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.
  3. 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

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 9376

@mantid-builder mantid-builder added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.2 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

1 participant