diff --git a/python/lsst/drp/tasks/metadetection_shear.py b/python/lsst/drp/tasks/metadetection_shear.py index 16219665..a3dccbec 100644 --- a/python/lsst/drp/tasks/metadetection_shear.py +++ b/python/lsst/drp/tasks/metadetection_shear.py @@ -253,7 +253,9 @@ def run(self, patch_coadds: Sequence[MultipleCellCoadd]) -> Struct: catalog for the patch, with schema equal to `object_schema`. """ single_cell_tables: list[pa.Table] = [] - for single_cell_coadds in zip(*patch_coadds, strict=True): + for single_cell_coadds in zip( + *[patch_coadd.cells.values() for patch_coadd in patch_coadds], strict=True + ): single_cell_tables.append(self.process_cell(single_cell_coadds)) # TODO: if we need to do any cell-overlap-region deduplication here # (instead of purely in science analysis code), this is where'd it'd