diff --git a/python/lsst/pipe/tasks/multiBand.py b/python/lsst/pipe/tasks/multiBand.py index 4de7bd2ab..0b18c1f44 100644 --- a/python/lsst/pipe/tasks/multiBand.py +++ b/python/lsst/pipe/tasks/multiBand.py @@ -560,14 +560,14 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs): if self.config.doAddFootprints: modelData = inputs.pop('scarletModels') if self.config.doConserveFlux: - imageForResdistibution = inputs['exposure'] + imageForRedistribution = inputs['exposure'] else: - imageForResdistibution = None + imageForRedistribution = None updateCatalogFootprints( modelData=modelData, catalog=sources, band=inputRefs.exposure.dataId["band"], - imageForResdistibution=imageForResdistibution, + imageForRedistribution=imageForRedistribution, removeScarletData=True, updateFluxColumns=True, ) diff --git a/tests/test_isPrimaryFlag.py b/tests/test_isPrimaryFlag.py index 31b663555..1e6dbc6dd 100755 --- a/tests/test_isPrimaryFlag.py +++ b/tests/test_isPrimaryFlag.py @@ -256,7 +256,7 @@ def testIsScarletPrimaryFlag(self): modelData=modelData, catalog=catalog, band="test", - imageForResdistibution=coadds["test"], + imageForRedistribution=coadds["test"], removeScarletData=True, updateFluxColumns=True, )