Skip to content

Commit

Permalink
Tests: Adaptations to main and scheduler tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd committed Jul 26, 2019
1 parent 5aedacb commit 29dc75a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions arc/mainTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def test_as_dict(self):
arc_species_list=[spc1], level_of_theory='ccsd(t)-f12/cc-pvdz-f12//b3lyp/6-311+g(3df,2p)')
restart_dict = arc0.as_dict()
expected_dict = {'composite_method': '',
'conformer_level': 'b97d3/6-31+g(d,p)',
'ts_guess_level': 'b97d3/6-31+g(d,p)',
'conformer_level': 'b3lyp/6-31g(d,p) empiricaldispersion=gd3bj',
'ts_guess_level': 'b3lyp/6-31g(d,p) empiricaldispersion=gd3bj',
'opt_level': 'b3lyp/6-311+g(3df,2p)',
'freq_level': 'b3lyp/6-311+g(3df,2p)',
'freq_scale_factor': 0.967,
Expand Down
3 changes: 2 additions & 1 deletion arc/schedulerTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def test_conformers(self):
self.assertTrue(os.path.isfile(methylamine_conf_path))
with open(methylamine_conf_path, 'r') as f:
lines = f.readlines()
self.assertTrue('Conformers for methylamine, optimized at the b97d3/6-31+g(d,p) level' in lines[0])
self.assertTrue('Conformers for methylamine, optimized at the b3lyp/6-31g(d,p) EmpiricalDispersion=GD3BJ level'
in lines[0])
self.assertEqual(lines[10], 'SMILES: CN\n')
self.assertTrue('Relative Energy:' in lines[11])
self.assertEqual(lines[15][0], 'N')
Expand Down

0 comments on commit 29dc75a

Please sign in to comment.