Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
muthuku opened this issue Jul 19, 2021 · 0 comments
Open

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

muthuku opened this issue Jul 19, 2021 · 0 comments

Comments

@muthuku
Copy link

muthuku commented Jul 19, 2021

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant