Skip to content

Commit be97ac6

Browse files
Replace hidden wcs pipeline attribute with public one (#9165)
2 parents 5a0f127 + 92f5cc3 commit be97ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jwst/assign_mtwcs/moving_target_wcs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def add_mt_frame(wcs, ra_average, dec_average, mt_ra, mt_dec):
119119
new_wcs : `~gwcs.WCS`
120120
The WCS for the moving target observation.
121121
"""
122-
pipeline = wcs._pipeline[:-1] # noqa: SLF001
122+
pipeline = wcs.pipeline[:-1]
123123

124124
mt = deepcopy(wcs.output_frame)
125125
mt.name = "moving_target"

0 commit comments

Comments
 (0)