Copying the example verbatim from the documentation (section 3.5 working
with 3d molecules) doesn't work:


>>> from rdkit import Chem
>>> from rdkit.Chem import AllChem
>>> m = Chem.MolFromSmiles('C1CCC1OC')
>>> m2 = Chem.AddHs(m)
>>> m
<rdkit.Chem.rdchem.Mol object at 0x1f02bb0>
>>> m2
<rdkit.Chem.rdchem.Mol object at 0x1f021a0>
>>> AllChem.UFFOptimizeMolecule(m2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Bad Conformer Id


Any ideas why?


>>> from rdkit import rdBase
>>> rdBase._version()
'$Id: RDBase.cpp 1528 2010-09-26 17:04:37Z glandrum $'



Cheers
JP
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to