We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35419d5 commit fd4e094Copy full SHA for fd4e094
nibabies/workflows/bold/stc.py
@@ -124,17 +124,13 @@ def init_bold_stc_wf(metadata, name="bold_stc_wf"):
124
125
copy_xform = pe.Node(CopyXForm(), name="copy_xform", mem_gb=0.1)
126
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
-
+ # fmt:off
+ workflow.connect([
+ (inputnode, slice_timing_correction, [("bold_file", "in_file"),
+ ("skip_vols", "ignore")]),
+ (slice_timing_correction, copy_xform, [("out_file", "in_file")]),
+ (inputnode, copy_xform, [("bold_file", "hdr_file")]),
+ (copy_xform, outputnode, [("out_file", "stc_file")]),
+ ])
+ # fmt:on
140
return workflow
0 commit comments