Skip to content

Commit afc160e

Browse files
committed
Increase tolerance for atoca extras
1 parent 8ee8723 commit afc160e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

jwst/regtest/test_niriss_soss.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ def test_niriss_soss_extras(rtdata_module, run_atoca_extras, fitsdiff_default_kw
128128

129129
rtdata.get_truth(f"truth/test_niriss_soss_stages/{output}")
130130

131+
if suffix == "AtocaSpectra":
132+
# Supplemental output from atoca may have system dependent diffs.
133+
# Set the tolerance higher for the numpy 2.2 -> 2.3 transition.
134+
fitsdiff_default_kwargs["rtol"] = 0.1
135+
131136
diff = FITSDiff(rtdata.output, rtdata.truth, **fitsdiff_default_kwargs)
132137
assert diff.identical, diff.report()
133138

0 commit comments

Comments
 (0)