PubChemPy icon indicating copy to clipboard operation
PubChemPy copied to clipboard

Fixing failed search example pcp.get_compounds('CC', searchtype='superstructure', listkey_count=3)

Open bertiewooster opened this issue 2 years ago • 1 comments

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?

bertiewooster avatar Jul 27 '23 15:07 bertiewooster