Skip to content

Commit

Permalink
fix typo wcs1 should have been wcs2
Browse files Browse the repository at this point in the history
  • Loading branch information
emolter committed Dec 20, 2024
1 parent 3fb9a38 commit 6c68e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwst/resample/resample_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def reproject(wcs1, wcs2):

try:
forward_transform = wcs1.pixel_to_world_values
backward_transform = wcs1.world_to_pixel_values
backward_transform = wcs2.world_to_pixel_values
except AttributeError as err:
raise TypeError("Input should be a WCS") from err

Expand Down

0 comments on commit 6c68e61

Please sign in to comment.