Skip to content

Commit

Permalink
Merge pull request #117 from lsst/tickets/DM-17528
Browse files Browse the repository at this point in the history
DM-17528: fix a bug introduced in a previous ticket
  • Loading branch information
isullivan committed Mar 29, 2019
2 parents c20ba7d + 2d49c3d commit 088434c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/lsst/ip/diffim/dcrModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,14 @@ def buildMatchedExposure(self, exposure=None,
templateExposure : `lsst.afw.image.exposureF`
The DCR-matched template
"""
templateImage = self.buildMatchedTemplate(exposure, visitInfo, bbox, wcs, mask)
templateImage = self.buildMatchedTemplate(exposure=exposure, visitInfo=visitInfo,
bbox=bbox, wcs=wcs, mask=mask)
maskedImage = afwImage.MaskedImageF(bbox)
maskedImage.image = templateImage
maskedImage.mask = self.mask
maskedImage.variance = self.variance
templateExposure = afwImage.ExposureF(bbox, wcs)
templateExposure.setMaskedImage(templateImage)
templateExposure.setMaskedImage(maskedImage)
templateExposure.setPsf(self.psf)
templateExposure.setFilter(self.filter)
return templateExposure
Expand Down

0 comments on commit 088434c

Please sign in to comment.