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

Failure in indexing due to unexpected conversion of Chembl fields #157

Closed erikyao closed 1 year ago

erikyao commented 1 year ago

Introduced by PR https://github.com/biothings/mychem.info/pull/154 and PR https://github.com/biothings/mychem.info/pull/155.

The underlying cause is explained in https://github.com/biothings/biothings.api/issues/274

Solution: In Chembl parser, use dict_sweep to remove fields who values are None before the conversion is performed.

erikyao commented 1 year ago

Fixed with commit 015f74d9f87f75cb8b97a4f59828b6fdf8950a37