Thanks for the reply but that doesn't seem to be working for me (code below). If I just want to get a rough set of coordinates, what should I do? I see that gen3d (see link below) does a weighted rotor search as part of the process of making 3d coords but I wanted to just get the 3d coords and specify my own weighted rotor search conditions.
mol = openbabel.OBMol() cv = openbabel.OBConversion() cv.SetInAndOutFormats('smi', outfile_type) cv.ReadString(mol, smiles_string) mol.AddHydrogens() ff = openbabel.OBForceField.FindForceField("MMFF94") ff.GetCoordinates(mol) gen3d source code: http://openbabel.svn.sf.net/viewvc/openbabel/openbabel/trunk/src/ops/gen3d.cpp?revision=4307&view=markup -- View this message in context: http://forums.openbabel.org/Weighted-rotor-search-tp4655264p4655275.html Sent from the General discussion mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss