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

Not recognizing SMILES #18

Open
BasvdVelde opened this issue Nov 21, 2022 · 1 comment
Open

Not recognizing SMILES #18

BasvdVelde opened this issue Nov 21, 2022 · 1 comment

Comments

@BasvdVelde
Copy link

Hi!

Somehow this smile does not work in retip: "C1CN(CCN1CC/C=C\2/C3=CC=CC=C3SC4=C2C=C(C=C4)Cl)CCO"

getRT.smile("C1CN(CCN1CC/C=C\2/C3=CC=CC=C3SC4=C2C=C(C=C4)Cl)CCO",training,model=xgb)
Error in eval.desc(mol, descNames) : molecule must be an IAtomContainer
In addition: Warning message:
In parse.smiles(smile) :
1 out of 1 SMILES were not successfully parsed, resulting in NULLs.

I really don't understand why, because all my other SMILES work just fine.

Thanks again!

Bas

@tobigithub
Copy link
Collaborator

Can you check another SMILES notation for the same compound?

OCCN1CCN(CC\C=C/2\c3ccccc3Sc4ccc(Cl)cc24)CC1

Source https://chem.nlm.nih.gov/chemidplus/rn/53772-83-1

The error is related to RCDK, not Retip itself:
https://www.google.com/search?q=%22must+be+an+IAtomContainer%22

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

2 participants