biothings / mychem.info

MyChem.info: A BioThings API for chemical/drug annotations
http://mychem.info
Apache License 2.0
16 stars 14 forks source link

Aeolus 'indications' field not being indexed #121

Closed ravila4 closed 2 years ago

ravila4 commented 2 years ago

The aeolus.indications field is not indexed because the field is missing from the hard-coded mapping:

https://github.com/biothings/mychem.info/blob/4fffe1348e5a665be2e07323379700d51a437976/src/hub/dataload/sources/aeolus/aeolus_upload.py#L38-L127

colleenXu commented 2 years ago

commenting so I can track its progress. I'm also the one that raised this issue

ravila4 commented 2 years ago

Hi Colleen, I updated the mapping in this branch. There are actually a couple of changes in the datasource compared to the previous version, as you can see in this diff:

Screenshot from 2021-11-11 14-15-52

Both "indications", "drug_rxcui" are new, and "drug_vocab", "drug_code", and "relationships" were removed. I'm going to check the data so see why it is that they are missing (whether the data changed, or it's a bug in the parser).

ravila4 commented 2 years ago

Related to https://github.com/biothings/mychem.info/issues/70

ravila4 commented 2 years ago

The aeolus mapping was manually updated in the mondodb mychem_hubdb.src_master collection.

colleenXu commented 2 years ago

okay! My queries are now working.