Skip to content

Commit

Permalink
Actually save calibrated catalog in ReprocessVisitImage.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Nov 14, 2024
1 parent a33e1fb commit 6919e42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/lsst/drp/tasks/reprocess_visit_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,11 @@ def run(
result.exposure.info.setSummaryStats(
self.compute_summary_stats.run(result.exposure, result.sources_footprints, background)
)
self._apply_photo_calib(result.exposure, result.sources_footprints, photo_calib)
result.sources_footprints = self._apply_photo_calib(
result.exposure,
result.sources_footprints,
photo_calib,
)
result.sources = result.sources_footprints.asAstropy()

return result
Expand Down

0 comments on commit 6919e42

Please sign in to comment.