summaryrefslogtreecommitdiff
path: root/wcsutil/instruments.py
diff options
context:
space:
mode:
authordencheva <dencheva@stsci.edu>2009-12-22 14:07:38 -0500
committerdencheva <dencheva@stsci.edu>2009-12-22 14:07:38 -0500
commitb1ffc9a5e97e0ffb80030cc045f8b64f24309dc0 (patch)
tree0dddf604e33423b34193b421b4ca10821c2ed01c /wcsutil/instruments.py
parent25b25a655852d7ad21e3442748904dcbc70c1ff7 (diff)
downloadstwcs_hcf-b1ffc9a5e97e0ffb80030cc045f8b64f24309dc0.tar.gz
Fix for missing kw CCDCHIP. Covered the case when IDCTAB kw is not present or is not a valid file or is present but the file is missing on disk, in which case the idcmodel is restored from the SIP coefficients.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8513 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/instruments.py')
-rw-r--r--wcsutil/instruments.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wcsutil/instruments.py b/wcsutil/instruments.py
index afdf1a9..df92d54 100644
--- a/wcsutil/instruments.py
+++ b/wcsutil/instruments.py
@@ -1,6 +1,5 @@
import pyfits
-#from .. mappings import ins_spec_kw
-from mappings import ins_spec_kw, prim_hdr_kw
+from mappings import ins_spec_kw
class InstrWCS(object):
"""