Skip to content

Commit 0783989

Browse files
committed
Quick fix for CI
1 parent 9a1073c commit 0783989

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astrocut/asdf_cutout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ def get_center_pixel(gwcsobj: gwcs.wcs.WCS, ra: float, dec: float) -> Tuple[Tupl
669669
coordinates = SkyCoord(ra, dec, unit='deg')
670670

671671
# Map the coordinates to a pixel's location on the Roman 2d array (row, col)
672-
row, col = gwcsobj.invert(coordinates, with_bounding_box=False)
672+
row, col = gwcsobj.invert(coordinates.ra.deg, coordinates.dec.deg, with_bounding_box=False)
673673

674674
return (row, col), wcs_updated
675675

0 commit comments

Comments
 (0)