diff options
-rw-r--r-- | wcsutil/hstwcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py index 8f3a96f..1c52f24 100644 --- a/wcsutil/hstwcs.py +++ b/wcsutil/hstwcs.py @@ -268,7 +268,7 @@ class HSTWCS(WCS): """ h = self.to_header() if self.wcs.has_cd(): - h = altwcs.pc2cd(h) + h = altwcs.pc2cd(h, key=self.wcskey) if sip2hdr: hwcs = h.ascardlist() |