Skip to content

Commit

Permalink
Update for afw.image.Wcs->afw.geom.SkyWcs
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Jan 21, 2018
1 parent c837aed commit f52eee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/drivers/coaddDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def readSelection(self, cache, selectId):
ref = getDataRef(cache.butler, selectId, "calexp")
self.log.info("Reading Wcs from %s" % (selectId,))
md = ref.get("calexp_md", immediate=True)
wcs = afwImage.makeWcs(md)
wcs = afwGeom.makeSkyWcs(md)
data = Struct(dataId=selectId, wcs=wcs, bbox=afwImage.bboxFromMetadata(md))
except FitsError:
self.log.warn("Unable to construct Wcs from %s" % (selectId,))
Expand Down

0 comments on commit f52eee8

Please sign in to comment.