diff options
author | hack <hack@stsci.edu> | 2009-12-07 13:09:25 -0500 |
---|---|---|
committer | hack <hack@stsci.edu> | 2009-12-07 13:09:25 -0500 |
commit | a37eae582268a4689e96008be8eb3599685812d2 (patch) | |
tree | 590ad520a71b321990dd330c176483807e7d57c8 | |
parent | 29d19cd173079b5e5d86546d1c5362ad4375e510 (diff) | |
download | stwcs_hcf-a37eae582268a4689e96008be8eb3599685812d2.tar.gz |
Corrected typo in 'stwcs.updatewcs.__init' function 'getNrefchip' to recognize 'WFC' as the ACS detector, not 'WCS'. WJH
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/trunk/stwcs@8476 fe389314-cf27-0410-b35b-8c050e845b92
-rw-r--r-- | updatewcs/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/updatewcs/__init__.py b/updatewcs/__init__.py index dd74e9d..00eda0f 100644 --- a/updatewcs/__init__.py +++ b/updatewcs/__init__.py @@ -128,7 +128,7 @@ def getNrefchip(fobj): Nrefext = detectors.index(3) + 1 elif instrument == 'ACS': detector = fobj[0].header['DETECTOR'] - if detector == 'WCS': + if detector == 'WFC': Nrefchip =2 else: Nrefchip = 1 |