From e243e9964df478a65e23a1823658c97aa806c61b Mon Sep 17 00:00:00 2001 From: Nicky Hochmuth Date: Fri, 11 Oct 2024 13:21:48 +0200 Subject: [PATCH] relax end2end fitsdiff --- stixcore/processing/tests/test_end2end.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stixcore/processing/tests/test_end2end.py b/stixcore/processing/tests/test_end2end.py index 642f09b6..ddec341b 100644 --- a/stixcore/processing/tests/test_end2end.py +++ b/stixcore/processing/tests/test_end2end.py @@ -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())