mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-08 07:18:27 +01:00
collect: nx.dfs_postorder_nodes yeilds the passed node
This commit is contained in:
@@ -150,7 +150,7 @@ class Repo(object):
|
||||
node = os.path.relpath(stage.path, self.root_dir)
|
||||
G = self._get_pipeline(node)
|
||||
|
||||
ret = [stage]
|
||||
ret = []
|
||||
for n in nx.dfs_postorder_nodes(G, node):
|
||||
ret.append(G.node[n]["stage"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user