From d6a87c346b56daafcd6b8b43231fdbb8b9222965 Mon Sep 17 00:00:00 2001 From: William Jamieson Date: Fri, 3 Jan 2025 12:57:09 -0500 Subject: [PATCH] Fix wcs api call in tests (#332) --- tests/test_tweakreg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_tweakreg.py b/tests/test_tweakreg.py index de6fdabb..da8216ee 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})