From cc10085877f4384cdd0259f87086f137356f9249 Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 16 Mar 2010 20:56:17 +0000 Subject: Checked in test code by mistake previously git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8914 fe389314-cf27-0410-b35b-8c050e845b92 --- updatewcs/dgeo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'updatewcs/dgeo.py') diff --git a/updatewcs/dgeo.py b/updatewcs/dgeo.py index 2fca578..3d49a8b 100644 --- a/updatewcs/dgeo.py +++ b/updatewcs/dgeo.py @@ -69,10 +69,10 @@ class DGEOCorr(object): # get the data arrays from the reference file and transform them for use with SIP dx,dy = cls.getData(nplfile, ccdchip) idccoeffs = cls.getIDCCoeffs(header) - """ + if idccoeffs != None: dx, dy = cls.transformData(dx,dy, idccoeffs) - """ + # Determine EXTVER for the WCSDVARR extension from the NPL file (EXTNAME, EXTVER) kw. # This is used to populate DPj.EXTVER kw wcsdvarr_x_version = 2 * extversion -1 -- cgit