Skip to content

Commit

Permalink
Minor bug fix for forcedPhotCcd.py
Browse files Browse the repository at this point in the history
  • Loading branch information
laurenam committed Aug 12, 2015
1 parent d531717 commit 9b810e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/lsst/meas/base/forcedPhotCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,9 @@ def fetchReferences(self, dataRef, exposure):
All work is delegated to the references subtask; see CoaddSrcReferencesTask for information
about the default behavior.
"""
bbox = exposure.getBBox()
references = lsst.afw.table.SourceCatalog(self.references.schema)
badParents = set()
unfiltered = self.references.fetchInBox(dataRef, exposure.getBBox(bbox), exposure.getWcs())
unfiltered = self.references.fetchInBox(dataRef, exposure.getBBox(), exposure.getWcs())
for record in unfiltered:
if record.getFootprint() is None or record.getFootprint().getArea() == 0:
if record.getParent() != 0:
Expand Down

0 comments on commit 9b810e8

Please sign in to comment.