From a37eae582268a4689e96008be8eb3599685812d2 Mon Sep 17 00:00:00 2001 From: hack Date: Mon, 7 Dec 2009 18:09:25 +0000 Subject: 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 --- updatewcs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'updatewcs/__init__.py') 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 -- cgit