Skip to content

Commit 4a3afd0

Browse files
committed
adapt corrTest
1 parent 9e70b95 commit 4a3afd0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arkane/encorr/corrTest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_get_atom_correction(self):
5959
"""
6060
Test that AECs can be assigned.
6161
It's possible these values are refit in the future so a loose tolerance
62-
is used to just test that the values can be queried.
62+
is used to just test that the values can be queried.
6363
"""
6464
atoms = {'H': 1}
6565
aec = get_atom_correction(level_of_theory=self.freq_lot, atoms=atoms)
@@ -90,7 +90,7 @@ def test_get_bac(self):
9090
bac_type=bac_type,
9191
)
9292
# test value is obtained by BAC(self.freq_lot, bac_type=bac_type).get_correction(bonds=bonds, coords=CCCBDB_coords, nums=nums).value_si
93-
test_value = 700
93+
test_value = -466
9494
self.assertAlmostEqual(bac, test_value, places=None, delta=100)
9595

9696
# test Melius BACs
@@ -100,7 +100,7 @@ def test_get_bac(self):
100100
bac_type=bac_type,
101101
)
102102
# test value is obtained by BAC(self.freq_lot, bac_type=bac_type).get_correction(bonds=bonds, coords=CCCBDB_coords, nums=nums).value_si
103-
test_value = 949
103+
test_value = -234
104104
self.assertAlmostEqual(bac, test_value, places=None, delta=100)
105105

106106
def test_assign_frequency_scale_factor(self):
@@ -122,7 +122,7 @@ def test_assign_frequency_scale_factor(self):
122122
self.assertAlmostEqual(freq_scale_factor, 0.997, places=1)
123123

124124
freq_scale_factor = assign_frequency_scale_factor(self.composite_lot)
125-
self.assertAlmostEqual(freq_scale_factor, 0.984, places=1)
125+
self.assertAlmostEqual(freq_scale_factor, 0.984, places=1)
126126

127127

128128
if __name__ == '__main__':

0 commit comments

Comments
 (0)