Skip to content

Commit

Permalink
Merge branch 'tickets/DM-29110'
Browse files Browse the repository at this point in the history
  • Loading branch information
sr525 committed May 12, 2021
2 parents cb4360c + 197f651 commit 861aee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/pipe/tasks/insertFakes.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ def run(self, fakeCat, image, wcs, photoCalib):
_add_fake_sources(image, generator, calibFluxRadius=self.config.calibFluxRadius, logger=self.log)
elif len(fakeCat) == 0 and self.config.doProcessAllDataIds:
self.log.warn("No fakes found for this dataRef; processing anyway.")
image.mask.addMaskPlane("FAKE")
else:
raise RuntimeError("No fakes found for this dataRef.")

Expand Down

0 comments on commit 861aee5

Please sign in to comment.