Skip to content

Commit f97f343

Browse files
committed
sty: Use fmt:skip in workflows.bold.outputs [ignore-rev]
1 parent 2353ac4 commit f97f343

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

fmriprep/workflows/bold/outputs.py

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ def init_func_fit_reports_wf(
267267
mem_gb=1,
268268
)
269269

270-
# fmt:off
271270
workflow.connect([
272271
(inputnode, ds_summary, [
273272
('source_file', 'source_file'),
@@ -288,8 +287,7 @@ def init_func_fit_reports_wf(
288287
('boldref2anat_xfm', 'transforms'),
289288
]),
290289
(t1w_wm, boldref_wm, [('out', 'input_image')]),
291-
])
292-
# fmt:on
290+
]) # fmt:skip
293291

294292
# Reportlets follow the structure of init_bold_fit_wf stages
295293
# - SDC1:
@@ -424,15 +422,13 @@ def init_func_fit_reports_wf(
424422
name='ds_epi_t1_report',
425423
)
426424

427-
# fmt:off
428425
workflow.connect([
429426
(inputnode, epi_t1_report, [('coreg_boldref', 'after')]),
430427
(t1w_boldref, epi_t1_report, [('output_image', 'before')]),
431428
(boldref_wm, epi_t1_report, [('output_image', 'wm_seg')]),
432429
(inputnode, ds_epi_t1_report, [('source_file', 'source_file')]),
433430
(epi_t1_report, ds_epi_t1_report, [('out_report', 'in_file')]),
434-
])
435-
# fmt:on
431+
]) # fmt:skip
436432

437433
return workflow
438434

@@ -473,15 +469,13 @@ def init_ds_boldref_wf(
473469
run_without_submitting=True,
474470
)
475471

476-
# fmt:off
477472
workflow.connect([
478473
(inputnode, sources, [('source_files', 'in1')]),
479474
(inputnode, ds_boldref, [('boldref', 'in_file'),
480475
('source_files', 'source_file')]),
481476
(sources, ds_boldref, [('out', 'Sources')]),
482477
(ds_boldref, outputnode, [('out_file', 'boldref')]),
483-
])
484-
# fmt:on
478+
]) # fmt:skip
485479

486480
return workflow
487481

@@ -625,15 +619,13 @@ def init_ds_hmc_wf(
625619
run_without_submitting=True,
626620
)
627621

628-
# fmt:off
629622
workflow.connect([
630623
(inputnode, sources, [('source_files', 'in1')]),
631624
(inputnode, ds_xforms, [('xforms', 'in_file'),
632625
('source_files', 'source_file')]),
633626
(sources, ds_xforms, [('out', 'Sources')]),
634627
(ds_xforms, outputnode, [('out_file', 'xforms')]),
635-
])
636-
# fmt:on
628+
]) # fmt:skip
637629

638630
return workflow
639631

@@ -1011,15 +1003,13 @@ def init_bold_preproc_report_wf(
10111003
mem_gb=DEFAULT_MEMORY_MIN_GB,
10121004
run_without_submitting=True,
10131005
)
1014-
# fmt:off
10151006
workflow.connect([
10161007
(inputnode, ds_report_bold, [('name_source', 'source_file')]),
10171008
(inputnode, pre_tsnr, [('in_pre', 'in_file')]),
10181009
(inputnode, pos_tsnr, [('in_post', 'in_file')]),
10191010
(pre_tsnr, bold_rpt, [('stddev_file', 'before')]),
10201011
(pos_tsnr, bold_rpt, [('stddev_file', 'after')]),
10211012
(bold_rpt, ds_report_bold, [('out_report', 'in_file')]),
1022-
])
1023-
# fmt:on
1013+
]) # fmt:skip
10241014

10251015
return workflow

0 commit comments

Comments
 (0)