diff options
author | hack <hack@stsci.edu> | 2013-02-25 17:30:04 -0500 |
---|---|---|
committer | hack <hack@stsci.edu> | 2013-02-25 17:30:04 -0500 |
commit | 541f050a9ef432c23a0595851576d152a0ea0892 (patch) | |
tree | bbbb66ce32be10efa743a5096a32bfab21bfc1f2 | |
parent | 563a9b9d7bbf01619ecf3ccb5b10237fa0137292 (diff) | |
download | stwcs_hcf-541f050a9ef432c23a0595851576d152a0ea0892.tar.gz |
Fixed a problem in wcscorr with updating the WCSCORR table for drizzled images with no SIPNAME.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stwcs/trunk@23439 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r-- | lib/stwcs/wcsutil/wcscorr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stwcs/wcsutil/wcscorr.py b/lib/stwcs/wcsutil/wcscorr.py index 16ad09b..ac2484b 100644 --- a/lib/stwcs/wcsutil/wcscorr.py +++ b/lib/stwcs/wcsutil/wcscorr.py @@ -329,7 +329,7 @@ def update_wcscorr(dest, source=None, extname='SCI', wcs_id=None, active=True): prihdr = source[0].header # Get headerlet related keywords here - sipname, idctab = utils.build_sipname(source, fname, None) + sipname, idctab = utils.build_sipname(source, fname, "None") npolname, npolfile = utils.build_npolname(source, None) d2imname, d2imfile = utils.build_d2imname(source, None) if 'hdrname' in prihdr: |