Beispiel #1
0
 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)
Beispiel #2
0
 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)