From 14074a9ca067dc0c009dadafba97525beef1fb9f Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Wed, 23 Oct 2024 19:56:00 -1000 Subject: [PATCH] * pfsConfig as a PrerequisiteConnection --- python/pfs/drp/qa/fiberNormsQa.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/python/pfs/drp/qa/fiberNormsQa.py b/python/pfs/drp/qa/fiberNormsQa.py index 017f8eae..da7707b3 100644 --- a/python/pfs/drp/qa/fiberNormsQa.py +++ b/python/pfs/drp/qa/fiberNormsQa.py @@ -8,6 +8,7 @@ from lsst.pipe.base.connectionTypes import ( Input as InputConnection, Output as OutputConnection, + PrerequisiteInput as PrerequisiteConnection, ) from pfs.drp.stella import PfsConfig, PfsFiberNorms @@ -18,18 +19,18 @@ class FiberNormQaConnections( ): """Connections for fiberNormQaTask""" + pfsConfig = PrerequisiteConnection( + name="pfsConfig", + doc="Top-end configuration", + storageClass="PfsConfig", + dimensions=("instrument", "visit"), + ) fiberNorms = InputConnection( name="fiberNorms", doc="Measured fiber normalisations", storageClass="PfsFiberNorms", dimensions=("instrument", "visit", "arm"), ) - pfsConfig = InputConnection( - name="pfsConfig", - doc="Top-end configuration", - storageClass="PfsConfig", - dimensions=("instrument", "visit"), - ) fiberNormsPlot = OutputConnection( name="fiberNormsPlot", doc="FiberNorms QA plot",