Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 13, 2024
1 parent 81186a7 commit 8da6df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions romancal/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion romancal/resample/tests/test_resample_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,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))

res = ResampleStep.call(img, good_bits=good_bits)
Expand Down

0 comments on commit 8da6df5

Please sign in to comment.