Skip to content

Commit

Permalink
Fix ReadoutCorner issue in overscanCorrection.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Aug 30, 2019
1 parent ff00747 commit aee31a4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/ip/isr/isrTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
import lsst.geom
import lsst.afw.image as afwImage
import lsst.afw.math as afwMath
import lsst.afw.table as afwTable
import lsst.pex.config as pexConfig
import lsst.pipe.base as pipeBase
import lsst.pipe.base.connectionTypes as cT

from contextlib import contextmanager
from lsstDebug import getDebugFrame

from lsst.afw.cameraGeom import PIXELS, FOCAL_PLANE, NullLinearityType
from lsst.afw.cameraGeom import PIXELS, FOCAL_PLANE, NullLinearityType, \
ReadoutCorner
from lsst.afw.display import getDisplay
from lsst.afw.geom import Polygon
from lsst.daf.persistence import ButlerDataRef
Expand Down Expand Up @@ -1746,7 +1746,7 @@ def overscanCorrection(self, ccdExposure, amp):
(ccdExposure.getMetadata().exists(self.config.overscanBiasJumpKeyword) and
ccdExposure.getMetadata().getScalar(self.config.overscanBiasJumpKeyword) in
self.config.overscanBiasJumpDevices)):
if amp.getReadoutCorner() in (afwTable.LL, afwTable.LR):
if amp.getReadoutCorner() in (ReadoutCorner.LL, ReadoutCorner.LR):
yLower = self.config.overscanBiasJumpLocation
yUpper = dataBBox.getHeight() - yLower
else:
Expand Down

0 comments on commit aee31a4

Please sign in to comment.