Skip to content

Commit

Permalink
fix(wcs): Remove errant .appends
Browse files Browse the repository at this point in the history
  • Loading branch information
teald committed Dec 26, 2024
1 parent fd16bf7 commit 9187af1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions astrodata/wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1008,13 +1008,11 @@ def fitswcs_image(header):
rotation = models.AffineTransformation2D(
matrix=sky_cd, name="cd_matrix"
)
transforms.append(rotation)

# Do it this way so the whole CD matrix + projection is separable
projection = gwutils.fitswcs_nonlinear(wcs_info)

if projection:
transforms.append(projection)
rotation |= projection

transforms.append(rotation)
Expand Down

0 comments on commit 9187af1

Please sign in to comment.