From 12a8796542bbcbc3ae1528f7afa4e0ca48d9758c Mon Sep 17 00:00:00 2001 From: dencheva Date: Thu, 23 Sep 2010 18:42:43 +0000 Subject: Fixed a probelm with converting a PC to a CD matrix in alternate WCS's git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10381 fe389314-cf27-0410-b35b-8c050e845b92 --- wcsutil/hstwcs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcsutil/hstwcs.py') 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() -- cgit