Skip to content

Commit

Permalink
Fix append.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarmo committed Nov 20, 2023
1 parent 5504b77 commit b285d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions astropy/wcs/tests/test_utils.py
Expand Up @@ -1623,8 +1623,8 @@ def custom_frame_wcs_mapping(frame, projection="TAN"):
wcs.wcs.ctype = [f"CSLN-{projection}", f"CSLT-{projection}"]
return wcs

FRAME_WCS_MAPPINGS.append([custom_wcs_frame_mapping])
WCS_FRAME_MAPPINGS.append([custom_frame_wcs_mapping])
WCS_FRAME_MAPPINGS.append([custom_wcs_frame_mapping])
FRAME_WCS_MAPPINGS.append([custom_frame_wcs_mapping])

mywcs = WCS(naxis=2)
mywcs.wcs.ctype = ["CSLN-TAN", "CSLT-TAN"]
Expand Down

0 comments on commit b285d5e

Please sign in to comment.