summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wcsutil/altwcs.py1
-rw-r--r--wcsutil/hstwcs.py2
2 files changed, 1 insertions, 2 deletions
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()