monarch-initiative / monarch-ui

The previous version of the Monarch Initiative website
https://previous.monarchinitiative.org/
BSD 3-Clause "New" or "Revised" License
17 stars 29 forks source link

Biolink TypeError on disease tab for MP:0000530 #333

Closed kshefchek closed 4 years ago

kshefchek commented 4 years ago

See https://monarchinitiative.org/phenotype/MP:0000530#disease

kshefchek commented 4 years ago

Turns out this is coming from an association in mondo, renal hypertension - disease has basis in feature - > Renal artery stenosis (HP:0001920) which is a subclass of this MP term.

The evidence for these associations are not being ingested correctly into solr, so provided_by in biolink is null, and the evidence fields in solr are empty. We should fix this upstream but for now I've put a hack in on the app that assumes all null datasets are actually mondo - this works so far as we don't start getting ~A-box type associations from other ontologies which maybe is a bad assumption.