示例#1
0
 def test_isChiral(self):
     smi = CHIRAL_SMI
     sm = SmallMol(smi)
     ischiral, details = sm.isChiral(returnDetails=True)
     self.assertListEqual(
         details, CHIRAL_DETAILS, 'chiral atom does not match.'
         'Expected: {}; Now: {}'.format(CHIRAL_DETAILS, details))
示例#2
0
 def test_isChiral(self):
     smi = CHIRAL_SMI
     sm = SmallMol(smi)
     ischiral, details = sm.isChiral(returnDetails=True)
     self.assertListEqual(
         details,
         CHIRAL_DETAILS,
         f"chiral atom does not match.Expected: {CHIRAL_DETAILS}; Now: {details}",
     )