mcs07 / PubChemPy

Python wrapper for the PubChem PUG REST API.
http://pubchempy.readthedocs.io
MIT License
379 stars 106 forks source link

to_dic bug fixed #60

Open HYUNSEONG-KIM opened 3 years ago

HYUNSEONG-KIM commented 3 years ago

Some substances data source in Pubchem does not provides compound value while other data source provides. In this case, to_dataframe or to_dict funtion generate error no "compound"

ex: substance search with "pcp.get_substances("65983-31-5", "name")"