@@ -267,7 +267,6 @@ def init_func_fit_reports_wf(
267
267
mem_gb = 1 ,
268
268
)
269
269
270
- # fmt:off
271
270
workflow .connect ([
272
271
(inputnode , ds_summary , [
273
272
('source_file' , 'source_file' ),
@@ -288,8 +287,7 @@ def init_func_fit_reports_wf(
288
287
('boldref2anat_xfm' , 'transforms' ),
289
288
]),
290
289
(t1w_wm , boldref_wm , [('out' , 'input_image' )]),
291
- ])
292
- # fmt:on
290
+ ]) # fmt:skip
293
291
294
292
# Reportlets follow the structure of init_bold_fit_wf stages
295
293
# - SDC1:
@@ -424,15 +422,13 @@ def init_func_fit_reports_wf(
424
422
name = 'ds_epi_t1_report' ,
425
423
)
426
424
427
- # fmt:off
428
425
workflow .connect ([
429
426
(inputnode , epi_t1_report , [('coreg_boldref' , 'after' )]),
430
427
(t1w_boldref , epi_t1_report , [('output_image' , 'before' )]),
431
428
(boldref_wm , epi_t1_report , [('output_image' , 'wm_seg' )]),
432
429
(inputnode , ds_epi_t1_report , [('source_file' , 'source_file' )]),
433
430
(epi_t1_report , ds_epi_t1_report , [('out_report' , 'in_file' )]),
434
- ])
435
- # fmt:on
431
+ ]) # fmt:skip
436
432
437
433
return workflow
438
434
@@ -473,15 +469,13 @@ def init_ds_boldref_wf(
473
469
run_without_submitting = True ,
474
470
)
475
471
476
- # fmt:off
477
472
workflow .connect ([
478
473
(inputnode , sources , [('source_files' , 'in1' )]),
479
474
(inputnode , ds_boldref , [('boldref' , 'in_file' ),
480
475
('source_files' , 'source_file' )]),
481
476
(sources , ds_boldref , [('out' , 'Sources' )]),
482
477
(ds_boldref , outputnode , [('out_file' , 'boldref' )]),
483
- ])
484
- # fmt:on
478
+ ]) # fmt:skip
485
479
486
480
return workflow
487
481
@@ -625,15 +619,13 @@ def init_ds_hmc_wf(
625
619
run_without_submitting = True ,
626
620
)
627
621
628
- # fmt:off
629
622
workflow .connect ([
630
623
(inputnode , sources , [('source_files' , 'in1' )]),
631
624
(inputnode , ds_xforms , [('xforms' , 'in_file' ),
632
625
('source_files' , 'source_file' )]),
633
626
(sources , ds_xforms , [('out' , 'Sources' )]),
634
627
(ds_xforms , outputnode , [('out_file' , 'xforms' )]),
635
- ])
636
- # fmt:on
628
+ ]) # fmt:skip
637
629
638
630
return workflow
639
631
@@ -1011,15 +1003,13 @@ def init_bold_preproc_report_wf(
1011
1003
mem_gb = DEFAULT_MEMORY_MIN_GB ,
1012
1004
run_without_submitting = True ,
1013
1005
)
1014
- # fmt:off
1015
1006
workflow .connect ([
1016
1007
(inputnode , ds_report_bold , [('name_source' , 'source_file' )]),
1017
1008
(inputnode , pre_tsnr , [('in_pre' , 'in_file' )]),
1018
1009
(inputnode , pos_tsnr , [('in_post' , 'in_file' )]),
1019
1010
(pre_tsnr , bold_rpt , [('stddev_file' , 'before' )]),
1020
1011
(pos_tsnr , bold_rpt , [('stddev_file' , 'after' )]),
1021
1012
(bold_rpt , ds_report_bold , [('out_report' , 'in_file' )]),
1022
- ])
1023
- # fmt:on
1013
+ ]) # fmt:skip
1024
1014
1025
1015
return workflow
0 commit comments