Skip to content

Commit

Permalink
relax end2end fitsdiff
Browse files Browse the repository at this point in the history
  • Loading branch information
nicHoch committed Oct 11, 2024
1 parent 4392bee commit e243e99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions stixcore/processing/tests/test_end2end.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ def test_identical(orig_fits, current_fits):
error_c += 1
warnings.warn(f"no corresponding file found for {cfits} in the original fits files")
continue
diff = FITSDiff(ofits, cfits,
ignore_keywords=['CHECKSUM', 'DATASUM', 'DATE', 'VERS_SW', 'HISTORY'])
diff = FITSDiff(ofits, cfits, atol=0.0001, rtol=0.0001,
ignore_keywords=['CHECKSUM', 'DATASUM', 'DATE',
'VERS_SW', 'VERS_CFG', 'HISTORY'])
if not diff.identical:
error_c += 1
warnings.warn(diff.report())
Expand Down

0 comments on commit e243e99

Please sign in to comment.