Skip to content

Commit

Permalink
Merge pull request lsst#146 from lsst/tickets/DM-11625
Browse files Browse the repository at this point in the history
Update schema naming conventions to avoid bug in peak culling.
  • Loading branch information
TallJimbo authored and PaulPrice committed Aug 22, 2017
2 parents fe61ca1 + f55172b commit 8cc84db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/lsst/pipe/tasks/multiBand.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,8 @@ def cullPeaks(self, catalog):
\param[in] catalog Source catalog
"""
keys = [item.key for item in self.merged.getPeakSchema().extract("merge.peak.*").values()]
keys = [item.key for item in self.merged.getPeakSchema().extract("merge_peak_*").values()]
assert len(keys) > 0, "Error finding flags that associate peaks with their detection bands."
totalPeaks = 0
culledPeaks = 0
for parentSource in catalog:
Expand Down

0 comments on commit 8cc84db

Please sign in to comment.