@@ -341,19 +341,27 @@ def init_single_subject_wf(subject_id: str):
341
341
342
342
# allow to run with anat-fast-track on fMRI-only dataset
343
343
if anatomical_cache and not subject_data ['t1w' ]:
344
- workflow .connect ([
345
- (bidssrc , bids_info , [(('bold' , fix_multi_T1w_source_name ), 'in_file' )]),
346
- (anat_fit_wf , summary , [('outputnode.t1w_preproc' , 't1w' )]),
347
- (anat_fit_wf , ds_report_summary , [('outputnode.t1w_preproc' , 'source_file' )]),
348
- (anat_fit_wf , ds_report_about , [('outputnode.t1w_preproc' , 'source_file' )]),
349
- ])
344
+ workflow .connect (
345
+ [
346
+ (bidssrc , bids_info , [(('bold' , fix_multi_T1w_source_name ), 'in_file' )]),
347
+ (anat_fit_wf , summary , [('outputnode.t1w_preproc' , 't1w' )]),
348
+ (anat_fit_wf , ds_report_summary , [('outputnode.t1w_preproc' , 'source_file' )]),
349
+ (anat_fit_wf , ds_report_about , [('outputnode.t1w_preproc' , 'source_file' )]),
350
+ ]
351
+ )
350
352
else :
351
- workflow .connect ([
352
- (bidssrc , bids_info , [(('t1w' , fix_multi_T1w_source_name ), 'in_file' )]),
353
- (bidssrc , summary , [('t1w' , 't1w' )]),
354
- (bidssrc , ds_report_summary , [(('t1w' , fix_multi_T1w_source_name ), 'source_file' )]),
355
- (bidssrc , ds_report_about , [(('t1w' , fix_multi_T1w_source_name ), 'source_file' )]),
356
- ])
353
+ workflow .connect (
354
+ [
355
+ (bidssrc , bids_info , [(('t1w' , fix_multi_T1w_source_name ), 'in_file' )]),
356
+ (bidssrc , summary , [('t1w' , 't1w' )]),
357
+ (
358
+ bidssrc ,
359
+ ds_report_summary ,
360
+ [(('t1w' , fix_multi_T1w_source_name ), 'source_file' )],
361
+ ),
362
+ (bidssrc , ds_report_about , [(('t1w' , fix_multi_T1w_source_name ), 'source_file' )]),
363
+ ]
364
+ )
357
365
358
366
workflow .connect ([
359
367
(inputnode , anat_fit_wf , [('subjects_dir' , 'inputnode.subjects_dir' )]),
0 commit comments