Skip to content

Commit

Permalink
fixup! Integrate PipelineGraph with Pipeline and use it for sorting.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed Mar 26, 2023
1 parent f07940b commit 91f5c3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/pipe/base/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,7 @@ def to_graph(self) -> pipeline_graph.MutablePipelineGraph:
Representation of the pipeline as a graph.
"""
graph = pipeline_graph.MutablePipelineGraph()
graph.description = self._pipelineIR.description
for label in self._pipelineIR.tasks:
self._add_task_to_graph(label, graph)
if self._pipelineIR.contracts is not None:
Expand Down

0 comments on commit 91f5c3a

Please sign in to comment.