Skip to content

Having trouble using cs.search and getting a list of compounds #24

Description

@muthuku

Hi, When I run cs.search('glucose') in python, I don't get a list of compounds like it says in the ChemSpider documentation. Instead it gives an object but says Failed.

from chemspipy import ChemSpider
cs = ChemSpider('6zvrJ9vSmlsrPMKhGaaWZt8oY7AYx4IT')
results = cs.search('Glucose')
print(results)
Results(Failed)

Do you know why this could be the case and how to fix it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions