summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhack <hack@stsci.edu>2009-12-07 13:09:25 -0500
committerhack <hack@stsci.edu>2009-12-07 13:09:25 -0500
commita37eae582268a4689e96008be8eb3599685812d2 (patch)
tree590ad520a71b321990dd330c176483807e7d57c8
parent29d19cd173079b5e5d86546d1c5362ad4375e510 (diff)
downloadstwcs_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__.py2
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