Skip to content

Commit

Permalink
Fix wcs api call in tests (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamJamieson authored Jan 3, 2025
1 parent f563174 commit d6a87c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_tweakreg.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def input_catalog(datamodel):
cat = amutils.get_catalog(fiducial[0], fiducial[1], search_radius=radius,
catalog=TEST_CATALOG)

x, y = w.world_to_pixel(cat["ra"].value, cat["dec"].value)
x, y = w.world_to_pixel_values(cat["ra"].value, cat["dec"].value)
return Table({"x": x, "y": y})


Expand Down

0 comments on commit d6a87c3

Please sign in to comment.