We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8603729 + ac8fc74 commit 85fd309Copy full SHA for 85fd309
nipype/pipeline/engine/workflows.py
@@ -878,7 +878,7 @@ def _generate_flatgraph(self):
878
if not nx.is_directed_acyclic_graph(self._graph):
879
raise Exception(('Workflow: %s is not a directed acyclic graph '
880
'(DAG)') % self.name)
881
- nodes = nx.topological_sort(self._graph)
+ nodes = list(nx.topological_sort(self._graph))
882
for node in nodes:
883
logger.debug('processing node: %s', node)
884
if isinstance(node, Workflow):
0 commit comments