Skip to content

Commit

Permalink
Changed the relative tolerance for an assert_allclose in test_fit_tra…
Browse files Browse the repository at this point in the history
…ce_all_nan_cols.
  • Loading branch information
hpparvi committed Dec 3, 2024
1 parent 9aecda5 commit 15f5128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specreduce/tests/test_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def test_fit_trace_all_nan_cols(self):
4.1283502, 4.5645293, 5.0007083, 5.4368874, 5.8730665,
6.3092455]
max_trace = FitTrace(img, peak_method='gaussian')
np.testing.assert_allclose(truth, max_trace.trace)
np.testing.assert_allclose(truth, max_trace.trace, rtol=0.01)

# peak_method = 'centroid'
truth = [2.5318835, 2.782069, 3.0322546, 3.2824402, 3.5326257,
Expand Down

0 comments on commit 15f5128

Please sign in to comment.