Skip to content

Commit

Permalink
Record updated photoCalib with calexp object.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Apr 26, 2021
1 parent d42051e commit 04519cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/pipe/tasks/makeCoaddTempExp.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,7 @@ def prepareCalibratedExposures(self, calExpList, backgroundList=None, skyCorrLis
if photoCalib is None:
raise RuntimeError(f"Detector id {detectorId} has None for photoCalib "
f"in externalPhotoCalibCatalog.")
calexp.setPhotoCalib(photoCalib)
else:
photoCalib = calexp.getPhotoCalib()

Expand Down

0 comments on commit 04519cf

Please sign in to comment.