-
Notifications
You must be signed in to change notification settings - Fork 0
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
Deprecate EnvironmentalMaterialTerm
, Pathway
#222
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.
Reviewed bc this will not affect workflows during the refactoring, but I don't not have sufficient context to say whether or not these terms should be removed, so I'll default to others for that aspect.
I like the PR title! It tells me what will happen on the destination branch if these changes were to be merged into it. |
src/schema/annotation.yaml
Outdated
@@ -110,6 +112,7 @@ classes: | |||
- KEGG.ORTHOLOGY prefix is used for KO numbers | |||
todos: | |||
- is OrthologyGroup instantiated in an MongoDB collection? Aren't Pathways searchable in the Data Portal? | |||
deprecated: "not used. 2024-07-10 https://github.com/microbiomedata/nmdc-schema/issues/1881" |
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.
We do use the KEGG prefix the both of the aggregation tables which is I think an argument for keeping OrthologyGroup which would also mean keeping FunctionalAnnotationTerm.
i think what should happen is the range of gene_function_id should be OrthologyGroup plus a structured_pattern.syntax constraint @turbomam
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.
@SamuelPurvine this is what we were talking about on Wednesday, yes?
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.
Yep, and is why I'd brought it up :)
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.
@aclum @SamuelPurvine @mslarae13
Making sure I understand various conversations - if you will have a use for OrthologyGroup and parent classes, I should close this PR without merging, leave the classes in the schema, and they will be used after berkeley rollout when you make changes to gene_function_id
?
EnvironmentalMaterialTerm
, FunctionalAnnotationTerm
+ childrenEnvironmentalMaterialTerm
, Pathway
I removed the deprecation for |
That'll be a @aclum thing :) |
Approved this PR. |
See microbiomedata#1881
This PR is the first step in deprecating
EnvironmentalMaterialTerm
,FunctionalAnnotationTerm
+ children. It adds adeprecated:
string to each class definition. This PR will need to be reviewed to see if/when it can be merged in during the Berkeley schema rollout, or if we need to wait.