def test_has_error(self): parser = JobParser.from_file(get_jobs_path("error/mdtemp_error.out")) self.assertTrue(parser.has_error())
def setUp(self): self.parser = MolecularDynamicsParser.from_file( get_jobs_path("md/molecule.out"), get_jobs_path("md/molecule.trg"))
def setUp(self): self.parser = JobParser.from_file(get_jobs_path("opti/opti.out"))
def test_parse(self): results = self.job.parse_results(get_jobs_path("md/molecule.out"), get_jobs_path("md/molecule.trg")) self.assertTrue("frames" in results)
def test_host(self): parser = JobParser.from_file(get_jobs_path("slc/coreshell.out")) host = parser.get_host() self.assertEqual(host, "node1034") self.assertIsNone(self.parser.get_host())