コード例 #1
0
ファイル: test_io.py プロジェクト: gabrielelanaro/pyquante
 def testWriteString(self):
     sh = SH()
     data = Data(molecule=PYQ)
     sh.write(data, format="cml")
コード例 #2
0
ファイル: test_io.py プロジェクト: svn2github/pyquante
 def testReadString(self):
     sh = SH()
     data = sh.read(PYQ_STR, format="xyz")
     self.assertEqual(len(data.molecule.atoms), 2)
コード例 #3
0
ファイル: test_io.py プロジェクト: gabrielelanaro/pyquante
 def testReadString(self):
     sh = SH()
     data = sh.read(PYQ_STR, format="xyz")
     self.assertEqual(len(data.molecule.atoms), 2)
コード例 #4
0
ファイル: test_io.py プロジェクト: svn2github/pyquante
 def testWriteString(self):
     sh = SH()
     data = Data(molecule=PYQ)
     sh.write(data, format="cml")