-
Notifications
You must be signed in to change notification settings - Fork 27
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
Changes in the results format ? #20
Comments
I'm having a similar problem today. Has there been a new change recently? The example |
Hi @m-rivera , Dave |
Hi @sharped-rsc , I tried it last mid-February with no issue. Just doing some more exploration now, I found out that I also tried different search methods which are not working for me. Miguel |
Hi @m-rivera, Version 1.05 used the old ChemSpider APIs that are now deprecated, so you will need to use 2.0.0. Looking at the two issues that you raise I think I can see the cause(s) and I think that the issue is that some of the examples show methods that were part of the V1 series of releases but do not exist in V2 (I may have missed something in the code, @mcs07 might be able to confirm or correct me) In the new RSC APIs looking up smiles or InChIs is handled by different APIs, changing the scope of the search function. A work around for this that I have found would be: c1 = cs.filter_results(cs.filter_smiles('O=C(OCC)C')) In terms of the formula search, as the error that you provided indicates, the ChemSpider class no-longer has a function called search by formula, an alternative way to achieve the same results would be: c1 = cs.filter_results(cs.filter_formula('C44H30N4Zn')) I hope that this helps you. Dave |
These are perfect alternate syntaxes, I can now do everything I wanted to! You're right, I was misguided by the examples, doubled by the fact that the Chemspider website was down for some time yesterday. Thanks for your help and promptness! Miguel |
Hi,
Trying to recover Chemspider ID using search method, it usually worked, giving me a list of as described in documentation
however since today, i receive :
Results(Complete)
the success method gives me False, however sdf() gives me information on the compound
It's like the search worked but ended with an error.
I tried with different compounds and different keys.
Has there been any change during the last month ?
The text was updated successfully, but these errors were encountered: