Skip to content

Commit

Permalink
Merge pull request #171 from lsst/tickets/DM-20566-daf_butler
Browse files Browse the repository at this point in the history
DM-20566: Use lsst.geom not lsst.afw.geom
  • Loading branch information
timj committed Jul 15, 2019
2 parents 730ec69 + ce8deb4 commit 43e9eed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_butlerFits.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
try:
import lsst.afw.image
from lsst.afw.image import LOCAL
from lsst.geom import Box2I, Point2I
from lsst.geom import Box2I, Point2I, Extent2I
except ImportError:
lsst.afw = None

Expand Down Expand Up @@ -114,8 +114,7 @@ def runExposureCompositePutGetTest(self, storageClass, datasetTypeName):
# compRef.datasetType.storageClass.pytype)
compsRead[compName] = component
# Simple check of WCS
bbox = lsst.afw.geom.Box2I(lsst.afw.geom.Point2I(0, 0),
lsst.afw.geom.Extent2I(9, 9))
bbox = Box2I(Point2I(0, 0), Extent2I(9, 9))
self.assertWcsAlmostEqualOverBBox(compsRead["wcs"], exposure.getWcs(), bbox)

# With parameters
Expand Down

0 comments on commit 43e9eed

Please sign in to comment.