diff --git a/python/lsst/pipe/tasks/calibrateImage.py b/python/lsst/pipe/tasks/calibrateImage.py index acf94ea55..b64a9b839 100644 --- a/python/lsst/pipe/tasks/calibrateImage.py +++ b/python/lsst/pipe/tasks/calibrateImage.py @@ -918,7 +918,6 @@ def run( id_generator = lsst.meas.base.IdGenerator() result.exposure = self.snap_combine.run(exposures).exposure - self._recordMaskedPixelFractions(result.exposure) self.log.info("Initial PhotoCalib: %s", result.exposure.getPhotoCalib()) result.exposure.metadata["LSST CALIB ILLUMCORR APPLIED"] = False @@ -1082,6 +1081,8 @@ def run( else: result.applied_photo_calib = None + self._recordMaskedPixelFractions(result.exposure) + if self.config.run_sattle: # send boresight and timing information to sattle so the cache # is populated by the time we reach ip_diffim detectAndMeasure.