From 07502dfaf74cafaba4ae69b2befe59cc1d59a429 Mon Sep 17 00:00:00 2001 From: "M. Teodoro" Date: Thu, 5 Oct 2023 09:25:59 -0400 Subject: [PATCH] Add atol parameter to compare_asdf method. --- romancal/regtest/test_tweakreg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/romancal/regtest/test_tweakreg.py b/romancal/regtest/test_tweakreg.py index a17580dd1..7cfd30cf5 100644 --- a/romancal/regtest/test_tweakreg.py +++ b/romancal/regtest/test_tweakreg.py @@ -93,7 +93,7 @@ def test_tweakreg(rtdata, ignore_asdf_paths, tmp_path): ) assert "v2v3corr" in tweakreg_out.meta.wcs.available_frames - diff = compare_asdf(rtdata.output, rtdata.truth, **ignore_asdf_paths) + diff = compare_asdf(rtdata.output, rtdata.truth, atol=1e-3, **ignore_asdf_paths) step.log.info( f"DMS280 MSG: Was the proper TweakReg data produced? : {diff.identical}" )