diff --git a/romancal/conftest.py b/romancal/conftest.py index bba0638af..bef2b3170 100644 --- a/romancal/conftest.py +++ b/romancal/conftest.py @@ -247,9 +247,9 @@ def _base_image(shift_1=0, shift_2=0): model.meta.wcsinfo["roll_ref"] = 60.0 img = rdm.ImageModel(model) transform = pointing.v23tosky(img) - img.meta.wcs.set_transform('detector', 'icrs', transform) + img.meta.wcs.set_transform("detector", "icrs", transform) img.meta.wcs.bounding_box = ((-0.5, 2300), (-0.5, 200)) - + return img return _base_image diff --git a/romancal/resample/tests/test_resample_step.py b/romancal/resample/tests/test_resample_step.py index 83512acdc..883790217 100644 --- a/romancal/resample/tests/test_resample_step.py +++ b/romancal/resample/tests/test_resample_step.py @@ -346,7 +346,7 @@ def test_set_good_bits_in_resample_meta(base_image, good_bits): model.meta.wcsinfo["roll_ref"] = 60.0 img = datamodels.ImageModel(model) transform = pointing.v23tosky(img) - img.meta.wcs.set_transform('detector', 'icrs', transform) + img.meta.wcs.set_transform("detector", "icrs", transform) img.meta.wcs.bounding_box = ((-0.5, 2300), (-0.5, 200)) img.data *= img.meta.photometry.conversion_megajanskys / img.data