Skip to content

Commit 8e3b232

Browse files
authored
Merge pull request #1025 from lsst/tickets/DM-47632
DM-47632: Make summary stat calculation more robust on partial-output error cases.
2 parents dd34b64 + 67a48a8 commit 8e3b232

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

python/lsst/pipe/tasks/calibrateImage.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,6 @@ def setDefaults(self):
410410
self.photometry.match.sourceSelection.doRequirePrimary = False
411411
self.photometry.match.sourceSelection.doUnresolved = False
412412

413-
# All sources should be good for PSF summary statistics.
414-
# TODO: These should both be changed to calib_psf_used with DM-41640.
415-
self.compute_summary_stats.starSelection = "calib_photometry_used"
416-
self.compute_summary_stats.starSelector.flags.good = ["calib_photometry_used"]
417-
418413
def validate(self):
419414
super().validate()
420415

@@ -658,7 +653,6 @@ def run(self, *, exposures, id_generator=None, result=None):
658653
result.psf_stars_footprints, result.background, _ = self._compute_psf(result.exposure,
659654
id_generator)
660655
have_fit_psf = True
661-
summary_stat_catalog = result.psf_stars_footprints
662656
self._measure_aperture_correction(result.exposure, result.psf_stars_footprints)
663657
result.psf_stars = result.psf_stars_footprints.asAstropy()
664658

0 commit comments

Comments
 (0)