Replies: 1 comment 5 replies
-
You have no conformers because you didn't calculate any, nor provide 3D coordinates (the molecule was instantiated from SMILES only). This function does not return the total number of conformers (which is anyway subject to how you define cutoffs), it returns the amount of conformations you have stored in your molecule object. If you'd like to generate conformations in RDKit here is more info: https://www.rdkit.org/docs/GettingStartedInPython.html#working-with-3d-molecules |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This function seems to be not working for any kinds of molecules.
print(f"Number of conformers: {Chem.MolFromSmiles('COC1=CC(=NC=C1)C2=NC=CC(=C2)OC').GetNumConformers()}")
Below is the molecule I am using, which obviously has more than 1 conformers.
https://pubchem.ncbi.nlm.nih.gov/compound/2733927#section=3D-Conformer
Beta Was this translation helpful? Give feedback.
All reactions