Skip to content

Commit

Permalink
Update imports for ip_isr changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
czwa committed Sep 10, 2024
1 parent 4d618c5 commit fa1c758
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/test_defects.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def test_edgeMasking(self):
testImage = self.flatExp.clone()
mi = testImage.maskedImage

self.assertEqual(countMaskedPixels(mi, 'EDGE'), 0)
self.assertEqual(ipIsr.countMaskedPixels(mi, 'EDGE'), 0)
self.defaultTask._setEdgeBits(mi)

hEdge = self.defaultConfig.nPixBorderLeftRight
Expand All @@ -897,7 +897,7 @@ def test_edgeMasking(self):

nEdge = xSize*vEdge*2 + ySize*hEdge*2 - hEdge*vEdge*4

self.assertEqual(countMaskedPixels(mi, 'EDGE'), nEdge)
self.assertEqual(ipIsr.countMaskedPixels(mi, 'EDGE'), nEdge)

def test_badImage(self):
"""Check that fully-bad images do not fail.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_deferredCharge.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import lsst.utils.tests

import lsst.cp.pipe as cpPipe
from lsst.ip.isr import IsrMock
from lsst.ip.isr.isrMock import IsrMock


class CpCtiSolveTaskTestCase(lsst.utils.tests.TestCase):
Expand Down

0 comments on commit fa1c758

Please sign in to comment.