Hi everyone!
I am trying to run a workflow but getting the following error:
Traceback (most recent call last):
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/networkx/algorithms/dag.py”, line 187, in topological_sort
indegree_map[child] -= 1
KeyError: coreg_reg.atlas_resize_reg_directory.datasink
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “runall.py”, line 246, in
prep.main(paths,options_binary_string, ANAT, num_proc)
File “/mnt/project1/home1/varunk/fMRI/Autism-Connectome-Analysis/preprocessingPipelineImprovedModularWOAnatDynamic_old.py”, line 921, in main
wf.write_graph(graph2use=‘flat’, format=‘png’, simple_form=True)
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/nipype/pipeline/engine/workflows.py”, line 434, in write_graph
graph = self._create_flat_graph()
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/nipype/pipeline/engine/workflows.py”, line 853, in _create_flat_graph
workflowcopy._generate_flatgraph()
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/nipype/pipeline/engine/workflows.py”, line 925, in _generate_flatgraph
node._generate_flatgraph()
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/nipype/pipeline/engine/workflows.py”, line 925, in _generate_flatgraph
node._generate_flatgraph()
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/nipype/pipeline/engine/workflows.py”, line 877, in _generate_flatgraph
for node in nodes:
File “/mnt/project1/home1/varunk/anaconda3/envs/nipype_env2/lib/python3.6/site-packages/networkx/algorithms/dag.py”, line 189, in topological_sort
raise RuntimeError(“Graph changed during iteration”)
RuntimeError: Graph changed during iteration
Any suggestions on what does this error mean?
Thanks