@@ -426,16 +426,16 @@ def init_bold_wf(
426
426
ds_bold_t1_wf .inputs .inputnode .space = 'T1w'
427
427
428
428
workflow .connect ([
429
- (inputnode , ds_bold_t1_wf , [
430
- ('t1w_preproc' , 'inputnode.ref_file' ),
431
- ]),
432
429
(bold_fit_wf , ds_bold_t1_wf , [
433
430
('outputnode.bold_mask' , 'inputnode.bold_mask' ),
434
431
('outputnode.coreg_boldref' , 'inputnode.bold_ref' ),
435
432
('outputnode.boldref2anat_xfm' , 'inputnode.boldref2anat_xfm' ),
436
433
]),
437
434
(bold_native_wf , ds_bold_t1_wf , [('outputnode.t2star_map' , 'inputnode.t2star' )]),
438
- (bold_anat_wf , ds_bold_t1_wf , [('outputnode.bold_file' , 'inputnode.bold' )]),
435
+ (bold_anat_wf , ds_bold_t1_wf , [
436
+ ('outputnode.bold_file' , 'inputnode.bold' ),
437
+ ('outputnode.resampling_reference' , 'inputnode.ref_file' ),
438
+ ]),
439
439
]) # fmt:skip
440
440
441
441
if spaces .cached .get_spaces (nonstandard = False , dim = (3 ,)):
@@ -462,6 +462,7 @@ def init_bold_wf(
462
462
("std_t1w" , "inputnode.target_ref_file" ),
463
463
("std_mask" , "inputnode.target_mask" ),
464
464
("anat2std_xfm" , "inputnode.anat2std_xfm" ),
465
+ ('std_resolution' , 'inputnode.resolution' ),
465
466
("fmap_ref" , "inputnode.fmap_ref" ),
466
467
("fmap_coeff" , "inputnode.fmap_coeff" ),
467
468
("fmap_id" , "inputnode.fmap_id" ),
@@ -476,7 +477,6 @@ def init_bold_wf(
476
477
("outputnode.motion_xfm" , "inputnode.motion_xfm" ),
477
478
]),
478
479
(inputnode , ds_bold_std_wf , [
479
- ('std_t1w' , 'inputnode.ref_file' ),
480
480
('anat2std_xfm' , 'inputnode.anat2std_xfm' ),
481
481
('std_space' , 'inputnode.space' ),
482
482
('std_resolution' , 'inputnode.resolution' ),
@@ -488,7 +488,10 @@ def init_bold_wf(
488
488
('outputnode.boldref2anat_xfm' , 'inputnode.boldref2anat_xfm' ),
489
489
]),
490
490
(bold_native_wf , ds_bold_std_wf , [('outputnode.t2star_map' , 'inputnode.t2star' )]),
491
- (bold_std_wf , ds_bold_std_wf , [('outputnode.bold_file' , 'inputnode.bold' )]),
491
+ (bold_std_wf , ds_bold_std_wf , [
492
+ ('outputnode.bold_file' , 'inputnode.bold' ),
493
+ ('outputnode.resampling_reference' , 'inputnode.ref_file' ),
494
+ ]),
492
495
]) # fmt:skip
493
496
494
497
if config .workflow .run_reconall and freesurfer_spaces :
0 commit comments