-
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
Remove ChemicalEntity
as range for metabolite_identified
slot
#235
Conversation
ChemicalEntity
as range for metabolite_identified
slot
|
…aff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),701(com.apple.sharepoint.group.1),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),101(com.apple.access_ssh-disabled),400(com.apple.access_remote_ae) slot for class
@sierra-moxon @turbomam @mslarae13 - welcome back from GSC. Please review when you are able. |
id: | ||
required: true | ||
structured_pattern: | ||
syntax: "{id_nmdc_prefix}:chem-{id_shoulder}-{id_blade}$" |
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 may need to change to a ChEBI prefix pattern per our discussions with Chris
@@ -1592,6 +1593,7 @@ slots: | |||
inlined_as_list: true | |||
|
|||
known_as: | |||
description: An identifier of a ChemicalEntity. |
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.
It would be helpful for me to have a more detailed description here; in my (albeit strange) brain, "known_as" typically refers to a "name" or "alias" vs. an identifier...this could be tangential to this PR though! happy to refine description that in a subsequent PR.
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 agree. I find the name of this slot unintuitive and frankly problematic for the reason you point out. It was introduced during the Berkeley refactoring and there are no data in mongo using this slot, so if you can help to think of a more appropriate slot name and description, that would be much appreciated! I'd be happy to roll that into this PR.
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 only domain of the slot known_as
is the class PortionOfSubstance
. I'd advocate to make a better slot name and description before we use it (aka, now ;) ).
@sierra-moxon I'm going to move this back to draft until we settle on ID structure! |
Is the invalid example data file invalid for a single reason? Please include a super brief explanation for the invalidity in the filename, like |
Description
This PR will:
ChemicalEntity
as range for metabolite_identified slot.metabolite_identified
slot should not beChemicalEntity
nmdc-schema#2153, as discussed here: `ChemicalEntity` use cases, questions, guidance. nmdc-schema#2151structured_pattern
constraint and requirement onid
slot forChemicalEntity
class and invalid test for bad typecodestructured_pattern
constraint onknown_as
slot to match its range ofChemicalEntity
and adds description forknown_as
slotknown_as
slot needs description andstructured_pattern
constraints nmdc-schema#2121ChemicalEntity
class - @sierra-moxon or @turbomam please confirm this is appropriate as this is my first exposure to that slot.Reviewers
to review: @mslarae13, @turbomam, @sierra-moxon
to tag for schema freeze purposes: @aclum, @mbthornton-lbl, @corilo, @SamuelPurvine, @naglepuff, @sujaypatil96, @brynnz22, @eecavanna
PR Information
What type of PR is this? (check all applicable)
slot
slot
(made it wide open!)Did you add/update any tests?
Could this schema change make it so any valid data becomes invalid?
ChemicalEntity
because there is nochemical_entity_set
until the berkeley schema, therefore no way for there to beChemicalEntity
s in mongo)Does this PR have any downstream implications?