diff --git a/python/lsst/pipe/tasks/healSparseMapping.py b/python/lsst/pipe/tasks/healSparseMapping.py index 9144c72c5a..eba1ea1d76 100644 --- a/python/lsst/pipe/tasks/healSparseMapping.py +++ b/python/lsst/pipe/tasks/healSparseMapping.py @@ -549,6 +549,10 @@ def run(self, sky_map, tract, band, coadd_dict, input_map_dict, visit_summary_di if input_map.valid_pixels.size == 0: self.log.warning("No valid pixels for band %s, tract %d, patch %d; skipping.", band, tract, patch) + # Skip if we've already initialized our tract maps. + if tract_maps_initialized: + continue + coadd_photo_calib = coadd_dict[patch].get(component="photoCalib") coadd_inputs = coadd_dict[patch].get(component="coaddInputs")