Skip to content
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

fix: add MEDDRA id mapping for Disease semantic type #62

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

colleenXu
Copy link
Contributor

@colleenXu colleenXu commented Jul 19, 2021

Addresses biothings/biothings_explorer#217

For BTE to use these operations and handle ID resolution correctly: NCATS-Tangerine/translator-api-registry#72

@coveralls
Copy link

Pull Request Test Coverage Report for Build 1043972245

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 96.831%

Totals Coverage Status
Change from base Build 972320854: 0.0%
Covered Lines: 439
Relevant Lines: 444

💛 - Coveralls

@@ -207,7 +207,8 @@ export const APIMETA: MetaDataItemsObject = {
GARD: ['mondo.xrefs.gard', 'disease_ontology.xrefs.gard'],
HP: ['mondo.xrefs.hp'],
SNOMEDCT: ['mondo.xrefs.sctid', 'umls.snomed.preferred', 'umls.snomed.non-preferred'],
NCIT: ['mondo.xrefs.ncit', 'disease_ontology.xrefs.ncit']
NCIT: ['mondo.xrefs.ncit', 'disease_ontology.xrefs.ncit'],
MEDDRA: ['mondo.xrefs.meddra', 'disease_ontology.xrefs.meddra'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will the trailing comma here cause any problems?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so? There's a trailing comma here and here....throughout the file really.

I don't know the syntax though...

@newgene
Copy link
Member

newgene commented Jul 28, 2021

add a test for MEDDRA id @colleenXu

@newgene newgene merged commit 1208c1b into main Jul 28, 2021
@colleenXu
Copy link
Contributor Author

I've put it in my to-do list as a non-urgent task. I'll contact later for guidance on how to write the test / where to put it

@colleenXu colleenXu deleted the disease-meddra-add branch July 28, 2021 18:55
@colleenXu
Copy link
Contributor Author

Note that we have changed to using refactored ID resolver with SRI-based service (dev)...

It's not clear if code like this is used anymore, or what kind of tests need to be done (discussions in biothings/biothings_explorer#283 and issues that I will create later)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants