diff options
author | dencheva <dencheva@stsci.edu> | 2009-12-22 14:07:38 -0500 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-12-22 14:07:38 -0500 |
commit | b1ffc9a5e97e0ffb80030cc045f8b64f24309dc0 (patch) | |
tree | 0dddf604e33423b34193b421b4ca10821c2ed01c /wcsutil/instruments.py | |
parent | 25b25a655852d7ad21e3442748904dcbc70c1ff7 (diff) | |
download | stwcs_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.py | 3 |
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): """ |