Skip to content

Commit fd4e094

Browse files
committed
STY: Format connect statement
1 parent 35419d5 commit fd4e094

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

nibabies/workflows/bold/stc.py

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -124,17 +124,13 @@ def init_bold_stc_wf(metadata, name="bold_stc_wf"):
124124

125125
copy_xform = pe.Node(CopyXForm(), name="copy_xform", mem_gb=0.1)
126126

127-
workflow.connect(
128-
[
129-
(
130-
inputnode,
131-
slice_timing_correction,
132-
[("bold_file", "in_file"), ("skip_vols", "ignore")],
133-
),
134-
(slice_timing_correction, copy_xform, [("out_file", "in_file")]),
135-
(inputnode, copy_xform, [("bold_file", "hdr_file")]),
136-
(copy_xform, outputnode, [("out_file", "stc_file")]),
137-
]
138-
)
139-
127+
# fmt:off
128+
workflow.connect([
129+
(inputnode, slice_timing_correction, [("bold_file", "in_file"),
130+
("skip_vols", "ignore")]),
131+
(slice_timing_correction, copy_xform, [("out_file", "in_file")]),
132+
(inputnode, copy_xform, [("bold_file", "hdr_file")]),
133+
(copy_xform, outputnode, [("out_file", "stc_file")]),
134+
])
135+
# fmt:on
140136
return workflow

0 commit comments

Comments
 (0)