From a410e295807e475b1767764575c7f53745769dd2 Mon Sep 17 00:00:00 2001 From: fred3m Date: Tue, 3 Oct 2023 06:17:45 -0700 Subject: [PATCH] Fix spelling error in imageForRedistribution --- python/lsst/pipe/tasks/multiBand.py | 6 +++--- tests/test_isPrimaryFlag.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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, )