PubChemPy
PubChemPy copied to clipboard
Fixing failed search example pcp.get_compounds('CC', searchtype='superstructure', listkey_count=3)
Example as given returns error: 'PUGREST.BadRequest' urllib.error.HTTPError: HTTP Error 400: PUGREST.BadRequest
Adding 'smiles' as namespace solves the problem.
Or perhaps there's a way to get the search to work without specifying the namespace?