From 30d6c3d87b33940c8319fa53dd7cf2838706fb87 Mon Sep 17 00:00:00 2001 From: dencheva Date: Wed, 22 Sep 2010 19:04:50 +0000 Subject: Corrected a mistake in previous checkin git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@10373 fe389314-cf27-0410-b35b-8c050e845b92 --- wcsutil/altwcs.py | 1 - wcsutil/hstwcs.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'wcsutil') diff --git a/wcsutil/altwcs.py b/wcsutil/altwcs.py index 2c33902..3edac82 100644 --- a/wcsutil/altwcs.py +++ b/wcsutil/altwcs.py @@ -98,7 +98,6 @@ def archiveWCS(fname, wcskey=" ", wcsname=" ", ext=None, clobber=False): wname = wcsname wkey = wcskey wname = wcsname - print 'in archivewcs wkey, wname', wkey, wname for e in exts: w = pywcs.WCS(f[e].header, fobj=f) hwcs = w.to_header() diff --git a/wcsutil/hstwcs.py b/wcsutil/hstwcs.py index e543550..8f3a96f 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 = pc2cd(h) + h = altwcs.pc2cd(h) if sip2hdr: hwcs = h.ascardlist() -- cgit