Skip to content

Commit

Permalink
Use unique parameter names in Pipelines
Browse files Browse the repository at this point in the history
Make sure visit level plots, and coadd level plots have unique
parameter names so they do not trample each other when combined
into one pipeline.
  • Loading branch information
natelust committed Mar 27, 2022
1 parent b7dfa82 commit 88eb1d9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pipelines/coaddQAPlots.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Make coadd plots for QA
parameters:
ApFluxName: "i_ap09Flux"
CoaddApFluxName: "i_ap09Flux"
band: i
tasks:
# Make a plot showing the difference between the aperture 12 magnitude and the PSF magnitude.
Expand All @@ -9,7 +9,7 @@ tasks:
class: lsst.analysis.drp.skyPlot.SkyPlotTask
config:
axisActions.zAction: MagDiff
axisActions.zAction.col1: parameters.ApFluxName
axisActions.zAction.col1: parameters.CoaddApFluxName
axisActions.zAction.col2: "i_psfFlux"
connections.plotName: CircAp12_sub_PSF_meas_stars_i
selectorActions.flagSelector: CoaddPlotFlagSelector
Expand Down
4 changes: 2 additions & 2 deletions pipelines/visitQAPlots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: |
the coadd level tables, which have band_ prepended to their column names, and the visit level
tables which do not.
parameters:
ApFluxName: "ap12Flux"
VisitApFluxName: "ap12Flux"
band: i
tasks:
# Make a plot showing the difference between the aperture 12 magnitude and the PS magnitude.
Expand All @@ -15,7 +15,7 @@ tasks:
class: lsst.analysis.drp.skyPlotVisit.SkyPlotVisitTask
config:
axisActions.zAction: MagDiff
axisActions.zAction.col1: parameters.ApFluxName
axisActions.zAction.col1: parameters.VisitApFluxName
axisActions.zAction.col2: "psfFlux"
connections.plotName: CircAp12_sub_PS_meas_stars
selectorActions.flagSelector: VisitPlotFlagSelector
Expand Down

0 comments on commit 88eb1d9

Please sign in to comment.