From 9187af18185021c7ae976bb872a53e5162834de9 Mon Sep 17 00:00:00 2001 From: teald Date: Thu, 26 Dec 2024 13:35:30 -0800 Subject: [PATCH] fix(wcs): Remove errant .appends --- astrodata/wcs.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/astrodata/wcs.py b/astrodata/wcs.py index d72d66a..8d02bed 100644 --- a/astrodata/wcs.py +++ b/astrodata/wcs.py @@ -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)