Skip to content

Commit 73cb598

Browse files
committed
Remove run_without_submitting code
1 parent 87673aa commit 73cb598

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

nipype/pipeline/plugins/sgegraph.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ def make_job_name(jobnumber, nodeslist):
8080
for idx, pyscript in enumerate(pyfiles):
8181
node = nodes[idx]
8282
node_status_done = node_completed_status(node)
83-
## If a node has no dependencies, and it is requested to run_without_submitting
84-
## then run this node in place
85-
if (not node_status_done) and (len(dependencies[idx]) == 0 ) and (node.run_without_submitting == True):
86-
try:
87-
node.run()
88-
except Exception:
89-
node._clean_queue(idx, nodes)
90-
node_status_done = True # if successfully run locally, then claim true
9183

9284
#if the node itself claims done, then check to ensure all
9385
#dependancies are also done

nipype/pipeline/plugins/slurmgraph.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,6 @@ def make_job_name(jobnumber, nodeslist):
7878
for idx, pyscript in enumerate(pyfiles):
7979
node = nodes[idx]
8080
node_status_done = node_completed_status(node)
81-
## If a node has no dependencies, and it is requested to run_without_submitting
82-
## then run this node in place
83-
if (not node_status_done) and (len(dependencies[idx]) == 0 ) and (node.run_without_submitting == True):
84-
try:
85-
node.run()
86-
except Exception:
87-
node._clean_queue(idx, nodes)
88-
node_status_done = True # if successfully run locally, then claim true
8981

9082
#if the node itself claims done, then check to ensure all
9183
#dependancies are also done

0 commit comments

Comments
 (0)