I am trying to generate 3D coordinates of a molecule using the make3D()
function in Pybel. I create a simple molecule using

mol = pybel.readstring("smi", <some string>)

and then call

mol.make3D()

This results in the following error:
File "C:\Anaconda\lib\site-packages\pybel.py", line 471, in make3D
    self.localopt(forcefield, steps)
  File "C:\Anaconda\lib\site-packages\pybel.py", line 438, in localopt
    ff = _forcefields[forcefield]
KeyError: 'mmff94'

I only have this problem when running the script on Windows, it seems to
work in UNIX. Can anyone help me out?



--
View this message in context: 
http://forums.openbabel.org/make3D-forcefield-error-tp4659208.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to