summaryrefslogtreecommitdiff
path: root/updatewcs
diff options
context:
space:
mode:
Diffstat (limited to 'updatewcs')
-rw-r--r--updatewcs/dgeo.py4
1 files changed, 2 insertions, 2 deletions
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