User ea0ddb6d13
17-02-2011 10:57:27
Hello!
I'm trying to get MMFF94 optimized structure and my code is something like that:
ConformerPlugin plugin = new ConformerPlugin();
try {
Molecule mol = MarvinConvertor.convert(str);
// set target molecule
mol.clean(3, null, null);
plugin.setMolecule(mol);
plugin.setMMFF94Optimization(true);
// set parameters for calculation
plugin.setDiversity(diversity);
plugin.setTimelimit(time);
plugin.setPrehydrogenize(preHydro);
plugin.setOptimization(optLevel);
// run the calculation
plugin.run();
if (plugin.isOK()) {
// get results
Molecule mmff94_mol = plugin.getMMFF94OptimizedStrucutre();
System.out.println(mmff94_mol);
But unfortunatly result is empty (null) molecule. Does i'm missing something here?
Best regards,
Geven