Skip to content

Commit

Permalink
Tighten tolerance on i2d product
Browse files Browse the repository at this point in the history
  • Loading branch information
melanieclarke committed Oct 29, 2024
1 parent 9e5a22d commit 1cb213a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions jwst/regtest/test_fgs_image3.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,8 @@ def test_fgs_image3(run_fgs_image3, rtdata_module, fitsdiff_default_kwargs, suff
rtdata = rtdata_module
output = f"jw01029-o001_t009_fgs_clear_{suffix}.fits"
rtdata.output = output

rtdata.get_truth(f"truth/test_fgs_image3/{output}")

# Adjust tolerance for machine precision with float32 drizzle code
if suffix == "i2d":
fitsdiff_default_kwargs["rtol"] = 3e-3
fitsdiff_default_kwargs["atol"] = 2e-2

diff = FITSDiff(rtdata.output, rtdata.truth, **fitsdiff_default_kwargs)
assert diff.identical, diff.report()

Expand Down

0 comments on commit 1cb213a

Please sign in to comment.