Hello, I am trying to get my head around how smiles parsing in RDkit works, and wonder if anyone can explain why the "ok_smiles" is processed ok, wheras the "not_ok_smiles", with the extra parenthesis, isn't?
ok_smiles = "C%43CCC%42.CC%42.CC%43C" ok_mol = Chem.MolFromSmiles(ok_smiles) print ("ok smiles", Chem.MolToSmiles(ok_mol)) not_ok_smiles = "C%43CCC%42.CC%42.CC(%43)C" not_ok_mol = Chem.MolFromSmiles(not_ok_smiles) print ("not ok smiles", Chem Thanks Jonas I am running the below RDKit version 2018.03.2 Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 23:32:55)
_______________________________________________ Rdkit-devel mailing list Rdkit-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-devel