-
Notifications
You must be signed in to change notification settings - Fork 80
Delete preprocess data #1042
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
Delete preprocess data #1042
Conversation
preprocessed data EBI and VAMPS submission is not in a valid state | ||
['not submitted', 'failed'] | ||
QiitaDBError | ||
If the preprocessed data has (meta)analyses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not accurate: If the preprocessed data has been processed
Just a documentation comment. Once it is fixed, 👍 |
I tried deleting a Preprocessed data object that had already generated a processed data object and I got the following error:
And I honestly don't understand what that means. |
ppd = cls(ppd_id) | ||
if ppd.status != 'sandbox': | ||
raise QiitaDBStatusError( | ||
"Illegal operation on non sandbox preprocessed data") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since these messages (832 and 836) are likely to be seen by users on the GUI, do you think you could rephrase them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes. I think it should be "sandboxed" not "sandbox".
Couple of comments. |
with self.assertRaises(QiitaDBStatusError): | ||
PreprocessedData.delete(1) | ||
|
||
def test_delete_advance(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
advance -> advanced
Testing on my system. |
To the rest of the qiita devs, the reason why this is failing for some studies is because 'false' is not a valid status for the EBI submission. The |
No description provided.