-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add slot and enumeration to MetaproteomicsAnalysis
class and implement migrator.
#2276
Conversation
|
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.
I approve of the migrator as is (looks good to me). And thank you for writing that PR description, which I found easy to read/follow.
FYI: The deadline for merging this into |
I've incorporated edits from @SamuelPurvine regarding PV descriptions. @turbomam - please review this before Wednesday, December 4, it's important for the new Metaproteomics workflow to have this enumeration in place and we want to use that workflow to process new data for the renewal. |
enums: | ||
MetaproteomicsAnalysisCategoryEnum: | ||
description: The category of metaproteomics analysis being performed. | ||
permissible_values: |
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.
the PV descriptions are more value-added than the MetaproteomicsAnalysisCategoryEnum
description!
@@ -0,0 +1,13 @@ | |||
# This example is invalid because it is missing the required slot `metaproteomics_analysis_category` and that slot is required by the schema. |
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.
thank you
This MR will close #2256.
It will
metaproteomics_analysis_category
to theMetaproteomicsAnalysis
classmetaproteomics_analysis_category
to the schema, with a range ofMetaproteomicsAnalysisCategoryEnum
MetaproteomicsAnalysisCategoryEnum
to the schemametaproteomics_analysis_category
metaproteomics_analysis_category
MetaproteomicsAnalysis
records withmetaproteomics_analysis_category
value ofmatched_metagenome
. Note that this logic is used because all current data use amatched_metagenome
and we're adding this enumeration in preparation for the second category of analysis.I have tested the migrator locally with no issues.