Skip to content

Commit

Permalink
Add atol parameter to compare_asdf method.
Browse files Browse the repository at this point in the history
  • Loading branch information
mairanteodoro committed Oct 11, 2023
1 parent 756b3f9 commit 07502df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/regtest/test_tweakreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)
Expand Down

0 comments on commit 07502df

Please sign in to comment.