Exemplo n.º 1
0
 def testWriteString(self):
     sh = SH()
     data = Data(molecule=PYQ)
     sh.write(data, format="cml")
Exemplo n.º 2
0
 def testReadString(self):
     sh = SH()
     data = sh.read(PYQ_STR, format="xyz")
     self.assertEqual(len(data.molecule.atoms), 2)
Exemplo n.º 3
0
 def testReadString(self):
     sh = SH()
     data = sh.read(PYQ_STR, format="xyz")
     self.assertEqual(len(data.molecule.atoms), 2)
Exemplo n.º 4
0
 def testWriteString(self):
     sh = SH()
     data = Data(molecule=PYQ)
     sh.write(data, format="cml")