Skip to content

Commit

Permalink
Make use of getSummary()/setSummary()
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Jan 28, 2021
1 parent 98df1ae commit bd2aacd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/characterizeImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def run(self, exposure, exposureIdInfo=None, background=None):
summary = self.computeSummary.run(exposure=dmeRes.exposure,
sources=dmeRes.sourceCat,
background=dmeRes.background)
dmeRes.exposure.getInfo().setComponent('SUMMARY', summary)
dmeRes.exposure.getInfo().setSummary(summary)

self.display("measure", exposure=dmeRes.exposure, sourceCat=dmeRes.sourceCat)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def testProcessCcd(self):
varMean = varArr.mean(dtype=np.float64)
varStdDev = varArr.std(dtype=np.float64)

summary = exposure.getInfo().getComponent('SUMMARY')
summary = exposure.getInfo().getSummary()

psfShape = exposure.getPsf().computeShape()
psfIxx = psfShape.getIxx()
Expand Down

0 comments on commit bd2aacd

Please sign in to comment.