def testMMFFMinInfLoop(self): os = OptSafe() m = Chem.MolFromMolBlock(os.minInfLoop) self.assertTrue(m) ok = False try: ok = os.opt(m, os.mmffOptFunc) except RuntimeError: ok = True pass self.assertTrue(ok)
def testMMFFMinInfLoop(self) : os = OptSafe() m = Chem.MolFromMolBlock(os.minInfLoop) self.assertTrue(m) ok = False try: ok = os.opt(m, os.mmffOptFunc) except RuntimeError: ok = True pass self.assertTrue(ok)