Skip to content

Commit

Permalink
Merge pull request #397 from OpenCOMPES/fix_random_test_failure
Browse files Browse the repository at this point in the history
raise tolorances to avoid random test failures
  • Loading branch information
rettigl authored May 6, 2024
2 parents 9aa7cab + 64fbe48 commit eca7cd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_binning.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def test_normalization_histogram_from_timestamps() -> None:
bin_centers=res.coords[columns[0]].values,
time_stamp_column="timeStamps",
)
np.testing.assert_allclose(res / res.sum(), histogram / histogram.sum(), rtol=0.001)
np.testing.assert_allclose(res / res.sum(), histogram / histogram.sum(), rtol=0.01)


def test_normalization_histogram_from_timed_dataframe() -> None:
Expand Down

0 comments on commit eca7cd2

Please sign in to comment.