Skip to content

Commit ec3d005

Browse files
committed
STY: small stylistic changes [skip ci]
1 parent 242aa0d commit ec3d005

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

casts/nipype_tutorial_showcase.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
say "Import nipype building blocks"
1+
say "Nipype Showcase"
22
show "Import nipype building blocks"
33
run "from nipype import Node, Workflow"
44

@@ -27,12 +27,13 @@ run "smooth = Node(Smooth(fwhm=4), name='smooth')"
2727

2828
say "Create Workflow"
2929
show "Create Workflow"
30-
run "preproc01 = Workflow(name='preproc01', base_dir='.')"
30+
run "preproc01 = Workflow(name='preproc_flow', base_dir='.')"
3131

3232
say "Connect nodes within the workflow"
3333
show "Connect nodes within the workflow"
3434
run "preproc01.connect([(slicetimer, mcflirt, [('slice_time_corrected_file', 'in_file')]),
35-
(mcflirt, smooth, [('out_file', 'in_file')])])
35+
(mcflirt, smooth, [('out_file', 'in_file')])
36+
])
3637
"
3738

3839
say "Create a visualization of the workflow"
@@ -41,7 +42,7 @@ run "preproc01.write_graph(graph2use='orig')"
4142

4243
say "Visualize the figure"
4344
show "Visualize the figure"
44-
run "!eog preproc01/graph_detailed.png
45+
run "!eog preproc_flow/graph_detailed.png
4546
"
4647

4748
say "Feed some input to the workflow"

0 commit comments

Comments
 (0)