Skip to content

Commit

Permalink
Choose deblender catalog for MeasureMergedCoaddSourcesTask
Browse files Browse the repository at this point in the history
  • Loading branch information
fred3m committed Mar 3, 2022
1 parent 84bf843 commit 8fd325c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/lsst/pipe/tasks/multiBand.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,8 @@ def writeMetadata(self, dataRefList):
class MeasureMergedCoaddSourcesConnections(PipelineTaskConnections,
dimensions=("tract", "patch", "band", "skymap"),
defaultTemplates={"inputCoaddName": "deep",
"outputCoaddName": "deep"}):
"outputCoaddName": "deep",
"deblendedCatalog": "deblendedFlux"}):
inputSchema = cT.InitInput(
doc="Input schema for measure merged task produced by a deblender or detection task",
name="{inputCoaddName}Coadd_deblendedFlux_schema",
Expand Down Expand Up @@ -636,7 +637,7 @@ class MeasureMergedCoaddSourcesConnections(PipelineTaskConnections,
"or deblendedFlux if the multiband deblender was configured to output "
"deblended flux catalogs. If no deblending was performed this should "
"be 'mergeDet'"),
name="{inputCoaddName}Coadd_deblendedFlux",
name="{inputCoaddName}Coadd_{deblendedCatalog}",
storageClass="SourceCatalog",
dimensions=("tract", "patch", "band", "skymap"),
)
Expand Down

0 comments on commit 8fd325c

Please sign in to comment.