-
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
Issue1031 input sample mass #1109
Conversation
looking now |
It's a little unusual (but not a big problem per se) to request reviews on a draft PR. |
Oops! Forgot to make it official. |
I see that you are asserting
|
Hmm... I think that must have been autogenerated. I just added the mapping to the |
Do I fix this by adding AFO as a prefix? |
OK, you can't edit |
Yes, but lte's reassess whether we even want to use that mapping. One should always be hesitant to start using a new namespace. |
https://bioportal.bioontology.org/ontologies/AFO Allotrope is a high profile organization and the say that they are based on the Basic Formal Ontology (which is good), but I have no familiarity with their ontology at all. |
Here's the OLS page if you don't already have it bookmarked Their axioms look pretty good to me If we decide to use this mapping and all of their URIs start with
so that the terms' CURIe will be (in our environment at least) |
Otherwise this looks pretty good to me. I'm going to run the migration now as part of the PR assessment. That's doesn't mean that I'm going to share the results with anybody but you. I.e. no intention to load this into any MongoDB yet. |
but also reported several
|
Sounds good. I guess I am wondering why we would not want to add the AFO mapping. Doesn't it make the schema more interoperable? What are the down sides to adding it? Its strange because I did not get the study award violations yesterday when I ran it. I know there was a change sheet happening with the award dois, so maybe that went through? |
I've given I'm going to do some writing about how to navigate this kind of thing and you can contribute your insights and preferences. You are correct that coverage and interoperability are important goals. But we do have to ask ourselves: do we have a goal of being interoperable with AFO? Please remove the AFO mapping. I created #1113 so we wouldn't forget about it
|
This sounds good. I'll remove it now. |
I approve this PR but we shouldn't merge until an apparently new problem validating |
@turbomam I could not find these dois mongoDb and took a close look at the before and after running the |
Issue: #1031
Updated the
sample_mass
slot to be calledinput_mass
as it is being used in theExtraction
class (a process) in order to clarify if the mass is consumed or generated. This process involved:nmdc.yaml
file to change slot name and add additional annotations.neon_nmdc_term_mapping.tsv
file to change the mapping toinput_mass
. Changed fromsample_mass
extraction_set
example data files to validate with the newly namedinput_mass
slotextraction_set
sample data file with the old slot name ofsample_mass
migration_recursion.py
file to include a function for migrating theextraction_set
collections to change the slot name. Note that the function uses the wordNEXT
in the name to specify the next version number, which will need to be updated when we know the release version.nmdc-runtime
repo and add migration changes to this migration. See PR Implement v7.8.0 to v8.0.0 migration notebook and refactor notebook folder nmdc-runtime#305