You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am using the ontology guide to map data in Census and Lattice's database for UBERON and HsapDv ontologies to higher level groupings, Organ, System, Developmental groups to evaluate the data we have/are in the pipeline. I found out that Lattice's Database can includes terms that are aren't part of the latest schema the ontology guide is based off of. Currently if the list of terms to map includes a term now included in the current ontology version the ontology guide is referencing it causes an error.
Approach
Describe the solution you'd like
I would like the function to be able to take in any ID and just return "None" if it's not part of the current ontology version. This is how it works for IDs that don't roll up to any of the terms included in the list to map to.
Describe alternatives you've considered
As a work around for now I've set up a while loop that will continue to catch the IDs that are not part of the ontologies and remove them from the overall list of IDs to map to until the map_highest_level_term() is successful.
Additional context
NA
Definition of Done
When it no longer breaks if there is a term in the list of IDs to map to that isn't part of the current ontology version the ontology guide is using.
The text was updated successfully, but these errors were encountered:
Need
Is your feature request related to a problem? Please describe.
I am using the ontology guide to map data in Census and Lattice's database for UBERON and HsapDv ontologies to higher level groupings, Organ, System, Developmental groups to evaluate the data we have/are in the pipeline. I found out that Lattice's Database can includes terms that are aren't part of the latest schema the ontology guide is based off of. Currently if the list of terms to map includes a term now included in the current ontology version the ontology guide is referencing it causes an error.
Approach
Describe the solution you'd like
I would like the function to be able to take in any ID and just return "None" if it's not part of the current ontology version. This is how it works for IDs that don't roll up to any of the terms included in the list to map to.
Describe alternatives you've considered
As a work around for now I've set up a while loop that will continue to catch the IDs that are not part of the ontologies and remove them from the overall list of IDs to map to until the map_highest_level_term() is successful.
Additional context
NA
Definition of Done
When it no longer breaks if there is a term in the list of IDs to map to that isn't part of the current ontology version the ontology guide is using.
The text was updated successfully, but these errors were encountered: