Skip to content

Commit

Permalink
fix coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoughlin committed Jun 3, 2024
1 parent 3511397 commit 5e7cfab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions gwemopt/tests/data/expected_results/summary_coverage.dat
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
1.0,10.04986,0.88970,95.15492,58710
7.0,10.04986,0.88970,95.15492,58710
60.0,10.04986,0.88970,95.15492,58710
1.0,10.04986,0.88860,95.15492,58710
7.0,10.04986,0.88860,95.15492,58710
60.0,10.04986,0.88860,95.15492,58710
3 changes: 2 additions & 1 deletion gwemopt/tests/test_coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_coverage():
]

# To regenerate the test data, uncomment the following lines
# temp_dir = Path(__file__).parent.absolute().joinpath("temp")
# temp_dir = Path(__file__).parent.absolute().joinpath("temp3")
# temp_dir.mkdir(exist_ok=True)

args = [
Expand All @@ -59,4 +59,5 @@ def test_coverage():
pd.testing.assert_frame_equal(
new_summary.reset_index(drop=True),
expected_summary.reset_index(drop=True),
rtol=1e-2,
)

0 comments on commit 5e7cfab

Please sign in to comment.