diff options
author | dencheva <dencheva@stsci.edu> | 2009-03-17 16:35:57 -0400 |
---|---|---|
committer | dencheva <dencheva@stsci.edu> | 2009-03-17 16:35:57 -0400 |
commit | 0bc834376d0e7cb66c1b7f5e27d14402b84235d9 (patch) | |
tree | a2c8d2c80b33c79d7da2d872dabe22a89f24cbca /wcsutil/instruments.py | |
parent | 2f388a86de97f76640063aa521389bdd5ddf2ee6 (diff) | |
download | stwcs_hcf-0bc834376d0e7cb66c1b7f5e27d14402b84235d9.tar.gz |
Added code which populates the science file with information about detector to image correction - header keywords and a lookup table extension. Cleaned coed.
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/development/trunk/updatewcs@7770 fe389314-cf27-0410-b35b-8c050e845b92
Diffstat (limited to 'wcsutil/instruments.py')
-rw-r--r-- | wcsutil/instruments.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wcsutil/instruments.py b/wcsutil/instruments.py index 4491079..6d41e2a 100644 --- a/wcsutil/instruments.py +++ b/wcsutil/instruments.py @@ -105,6 +105,10 @@ class ACSWCS(InstrWCS): except KeyError: print 'ERROR: Detector kw not found.\n' raise + except TypeError: + #this is the case of creating a default HSTWCS object by + #providing 'instrument' and 'detector' + pass def set_parity(self): parity = {'WFC':[[1.0,0.0],[0.0,-1.0]], |