Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 15, 2023
1 parent 98edde5 commit 4192711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_swiftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def test05_gr(self):
varpi_sim = sim.data['varpi'].sel(name="Mercury")
dvarpi_gr = np.diff(varpi_sim) / tstep_out
dvarpi_err = np.mean(dvarpi_obs - dvarpi_gr) / dvarpi_obs_mean
self.assertLess(np.abs(dvarpi_err),msg=f'Mercury precession rate error of of {dvarpi_err:.2e} "/{sim.TU_name} higher than threshold value of {dvarpi_limit:.2e} "/{sim.TU_name}')
self.assertLess(np.abs(dvarpi_err),dvarpi_limit,msg=f'Mercury precession rate error of of {dvarpi_err:.2e} "/{sim.TU_name} higher than threshold value of {dvarpi_limit:.2e} "/{sim.TU_name}')

return

Expand Down

0 comments on commit 4192711

Please sign in to comment.