Skip to content

Commit

Permalink
Merge pull request #1002 from lsst/tickets/DM-35381
Browse files Browse the repository at this point in the history
DM-35381: deprecate unused deblender connections
  • Loading branch information
TallJimbo authored Nov 6, 2024
2 parents 40c671d + 4df57bc commit 1c8e634
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions python/lsst/pipe/tasks/deblendCoaddSourcesPipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,23 @@ class DeblendCoaddSourcesMultiConnections(PipelineTaskConnections,
name="{outputCoaddName}Coadd_deblendedFlux_schema",
storageClass="SourceCatalog"
)
# TODO[DM-47405]: remove this deprecated connection.
fluxCatalogs = cT.Output(
doc="Flux weighted catalogs produced by multiband deblending",
name="{outputCoaddName}Coadd_deblendedFlux",
storageClass="SourceCatalog",
dimensions=("tract", "patch", "band", "skymap"),
multiple=True
multiple=True,
deprecated="Deprecated and unused; will be removed after v29."
)
# TODO[DM-47405]: remove this deprecated connection.
templateCatalogs = cT.Output(
doc="Template catalogs produced by multiband deblending",
name="{outputCoaddName}Coadd_deblendedModel",
storageClass="SourceCatalog",
dimensions=("tract", "patch", "band", "skymap"),
multiple=True
multiple=True,
deprecated="Deprecated and unused; will be removed after v29."
)
deblendedCatalog = cT.Output(
doc="Catalogs produced by multiband deblending",
Expand All @@ -152,9 +156,8 @@ class DeblendCoaddSourcesMultiConnections(PipelineTaskConnections,

def __init__(self, *, config=None):
super().__init__(config=config)
# Remove unused connections.
# TODO: deprecate once RFC-860 passes.
self.outputs -= set(("fluxCatalogs", "templateCatalogs"))
del self.fluxCatalogs
del self.templateCatalogs


class DeblendCoaddSourcesMultiConfig(PipelineTaskConfig,
Expand Down

0 comments on commit 1c8e634

Please sign in to comment.