Skip to content

Commit

Permalink
Fix spelling error in imageForRedistribution
Browse files Browse the repository at this point in the history
  • Loading branch information
fred3m committed Oct 3, 2023
1 parent c652948 commit a410e29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions python/lsst/pipe/tasks/multiBand.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_isPrimaryFlag.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def testIsScarletPrimaryFlag(self):
modelData=modelData,
catalog=catalog,
band="test",
imageForResdistibution=coadds["test"],
imageForRedistribution=coadds["test"],
removeScarletData=True,
updateFluxColumns=True,
)
Expand Down

0 comments on commit a410e29

Please sign in to comment.