From 541f050a9ef432c23a0595851576d152a0ea0892 Mon Sep 17 00:00:00 2001 From: hack Date: Mon, 25 Feb 2013 22:30:04 +0000 Subject: 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 --- lib/stwcs/wcsutil/wcscorr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stwcs/wcsutil') 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: -- cgit