diff options
author | dencheva <dencheva@stsci.edu> | 2010-12-13 15:45:48 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2010-12-13 15:45:48 -0500 |
commit | 67a20f05cc159df68639337256595ca838a4427c (patch) | |
tree | ebd0ea6f96622b81bd8335a4c2b05c547662ba91 /updatewcs/__init__.py | |
parent | 77090afe5465819044d824ad9045278f252bd622 (diff) | |
download | stwcs_hcf-67a20f05cc159df68639337256595ca838a4427c.tar.gz |
Initial fix for #637, will change this later.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@11373 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'updatewcs/__init__.py')
-rw-r--r-- | updatewcs/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updatewcs/__init__.py b/updatewcs/__init__.py index e820140..46d7267 100644 --- a/updatewcs/__init__.py +++ b/updatewcs/__init__.py @@ -198,7 +198,7 @@ def copyWCS(w, hdr, wkey, wname): if w.wcs.has_cd(): wcsutil.pc2cd(hwcs) for k in hwcs.keys(): - key = k+wkey + key = k[:7] + wkey hdr.update(key=key, value=hwcs[k]) norient = np.rad2deg(np.arctan2(hwcs['CD1_2'],hwcs['CD2_2'])) okey = 'ORIENT%s' % wkey |