diff options
author | dencheva <dencheva@stsci.edu> | 2010-09-23 14:42:43 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-09-23 14:42:43 -0400 |
commit | 12a8796542bbcbc3ae1528f7afa4e0ca48d9758c (patch) | |
tree | 1c652ab5e7b40f07637954b01630d14efc015404 /wcsutil/hstwcs.py | |
parent | efb7b669caa2410d0c8d7d55fc35484d6a567d70 (diff) | |
download | stwcs_hcf-12a8796542bbcbc3ae1528f7afa4e0ca48d9758c.tar.gz |
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
Diffstat (limited to 'wcsutil/hstwcs.py')
-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() |