Skip to content

Commit

Permalink
Handle destripe diff due to numpy 2.0
Browse files Browse the repository at this point in the history
see #184
  • Loading branch information
pllim committed Dec 8, 2023
1 parent d4ba51e commit 2502165
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion acstools/tests/test_wfc_destripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ def _destripe_one(self, inputfile, outsuffix, outputfile, truthfile,
mask1=masks[0], mask2=masks[1])

# Compare results
self.compare_outputs([(outputfile, truthfile)], rtol=1e-6)
# NOTE: atol instead of rtol was set due to numpy 2.0,
# see https://github.com/spacetelescope/acstools/issues/184
self.compare_outputs([(outputfile, truthfile)], atol=0.01)

# jb5g05ubq = calibrated post-SM4 WFC full-frame exposures without masks
# ja0x03ojq = calibrated polarizer WFC subarray exposures
Expand Down

0 comments on commit 2502165

Please sign in to comment.