Skip to content

Commit

Permalink
Add calexpType template to outputs of postprocessing tasks.
Browse files Browse the repository at this point in the history
Previously, MakeCcdVisitTableTask and MakeVisitTableTask allowed
calexpType to be used for inputs (use case: fakes_calexp) but not
outputs. Making the outputs match makes it possible run both fakes and
non-fakes versions of these tasks in the same pipeline, though the only
difference in output should be a few extra columns in the
fakes version.
  • Loading branch information
kfindeisen committed Sep 20, 2022
1 parent 0fbe0db commit 21a12e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/pipe/tasks/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1456,7 +1456,7 @@ class MakeCcdVisitTableConnections(pipeBase.PipelineTaskConnections,
)
outputCatalog = connectionTypes.Output(
doc="CCD and Visit metadata table",
name="ccdVisitTable",
name="{calexpType}ccdVisitTable",
storageClass="DataFrame",
dimensions=("instrument",)
)
Expand Down Expand Up @@ -1561,7 +1561,7 @@ class MakeVisitTableConnections(pipeBase.PipelineTaskConnections,
)
outputCatalog = connectionTypes.Output(
doc="Visit metadata table",
name="visitTable",
name="{calexpType}visitTable",
storageClass="DataFrame",
dimensions=("instrument",)
)
Expand Down

0 comments on commit 21a12e8

Please sign in to comment.