Skip to content

Commit

Permalink
Deprecate unused deblender connections.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Nov 6, 2024
1 parent 40c671d commit 4df57bc
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 4df57bc

Please sign in to comment.