diff --git a/tests/test_tweakreg.py b/tests/test_tweakreg.py index de6fdabb2..da8216eed 100644 --- a/tests/test_tweakreg.py +++ b/tests/test_tweakreg.py @@ -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})