From 0bc834376d0e7cb66c1b7f5e27d14402b84235d9 Mon Sep 17 00:00:00 2001 From: dencheva Date: Tue, 17 Mar 2009 20:35:57 +0000 Subject: 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 --- wcsutil/instruments.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wcsutil/instruments.py') 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]], -- cgit