Skip to content

Commit

Permalink
relax dry drop comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli committed Dec 5, 2024
1 parent 2134a97 commit 83e6671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file not shown.
3 changes: 2 additions & 1 deletion autotest/test_prt_dry.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ def check_output(idx, test, snapshot):
strtpts = pls[pls.ireason == 0]

# compare to expected results
actual = pls.drop(["name", "icell"], axis=1).round(2).reset_index(drop=True)
decimals = 1 if "drop" in name else 2
actual = pls.drop(["name", "icell"], axis=1).round(decimals).reset_index(drop=True)
assert snapshot == actual.to_records(index=False)

plot_pathlines = False
Expand Down

0 comments on commit 83e6671

Please sign in to comment.