From 2a014313381341c0f9da1a38cb054b5826e2c2ac Mon Sep 17 00:00:00 2001 From: Tim Jenness Date: Thu, 6 Jul 2023 16:43:12 -0700 Subject: [PATCH] Remove use of deprecated parameter --- python/lsst/pipe/base/graph/_versionDeserializers.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python/lsst/pipe/base/graph/_versionDeserializers.py b/python/lsst/pipe/base/graph/_versionDeserializers.py index a93898d5..39cf583c 100644 --- a/python/lsst/pipe/base/graph/_versionDeserializers.py +++ b/python/lsst/pipe/base/graph/_versionDeserializers.py @@ -39,7 +39,6 @@ DatasetRef, DatasetType, DimensionConfig, - DimensionRecord, DimensionUniverse, Quantum, SerializedDimensionRecord, @@ -534,7 +533,6 @@ def constructGraph( container = {} datasetDict = _DatasetTracker[DatasetTypeName, TaskDef](createInverse=True) taskToQuantumNode: defaultdict[TaskDef, set[QuantumNode]] = defaultdict(set) - recontitutedDimensions: dict[int, tuple[str, DimensionRecord]] = {} initInputRefs: dict[TaskDef, list[DatasetRef]] = {} initOutputRefs: dict[TaskDef, list[DatasetRef]] = {} @@ -610,7 +608,7 @@ def constructGraph( # reconstitute the node, passing in the dictionaries for the # loaded TaskDefs and dimension records. These are used to ensure # that each unique record is only loaded once - qnode = QuantumNode.from_simple(nodeDeserialized, loadedTaskDef, universe, recontitutedDimensions) + qnode = QuantumNode.from_simple(nodeDeserialized, loadedTaskDef, universe) container[qnode.nodeId] = qnode taskToQuantumNode[loadedTaskDef[nodeTaskLabel]].add(qnode)