Skip to content

Commit

Permalink
Merge pull request #111 from lsst/tickets/DM-40441
Browse files Browse the repository at this point in the history
DM-40441: replace usage of old QG builder class
  • Loading branch information
TallJimbo authored Apr 8, 2024
2 parents e8d7a17 + 0f9fa9b commit 1c55898
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_lookupFunction.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import lsst.pipe.base as pipeBase
import lsst.utils.tests

from lsst.pipe.base.all_dimensions_quantum_graph_builder import AllDimensionsQuantumGraphBuilder
from lsst.utils import getPackageDir


Expand Down Expand Up @@ -73,8 +74,10 @@ def testPrerequisiteLookupFunction(self):
pipeline = pipeBase.Pipeline("Test LookupFunction Pipeline")
pipeline.addTask(LookupTestPipelineTask, "test")

graphBuilder = pipeBase.GraphBuilder(butler.registry)
graph = graphBuilder.makeGraph(pipeline, ["HSC/calib"], "output/run", None)
graphBuilder = AllDimensionsQuantumGraphBuilder(
pipeline.to_graph(), butler, input_collections=["HSC/calib"], output_run="output/run"
)
graph = graphBuilder.build()
outputs = list(graph)
# verify the graph contains no datasetRefs for brighter fatter kernels
# instead of the datasetRefs that exist in the registry.
Expand Down

0 comments on commit 1c55898

Please sign in to comment.