@@ -3093,7 +3093,7 @@ def overwrite_transform_anat_to_template(wf, cfg, strat_pool, pipe_num, opt=None
30933093 "input" ,
30943094 ],
30953095 option_val = "Selected_Functional_Volume" ,
3096- inputs = [("desc-brain_bold" , ["desc-motion_bold" , "bold " ], "sbref" )],
3096+ inputs = [("desc-brain_bold" , ["desc-motion_bold" , "desc-reorient_bold " ], "sbref" )],
30973097 outputs = ["sbref" ],
30983098)
30993099def coregistration_prep_vol (wf , cfg , strat_pool , pipe_num , opt = None ):
@@ -3115,7 +3115,7 @@ def coregistration_prep_vol(wf, cfg, strat_pool, pipe_num, opt=None):
31153115 else :
31163116 # TODO check which file is functional_skull_leaf
31173117 # TODO add a function to choose brain or skull?
3118- node , out = strat_pool .get_data (["desc-motion_bold" , "bold " ])
3118+ node , out = strat_pool .get_data (["desc-motion_bold" , "desc-reorient_bold " ])
31193119
31203120 wf .connect (node , out , get_func_volume , "in_file_a" )
31213121
@@ -3579,7 +3579,7 @@ def create_func_to_T1template_symmetric_xfm(wf, cfg, strat_pool, pipe_num, opt=N
35793579 "sbref" ,
35803580 "desc-preproc_bold" ,
35813581 "desc-stc_bold" ,
3582- "bold " ,
3582+ "desc-reorient_bold " ,
35833583 "from-bold_to-T1w_mode-image_desc-linear_xfm" ,
35843584 ),
35853585 "despiked-fieldmap" ,
@@ -3667,7 +3667,7 @@ def apply_phasediff_to_timeseries_separately(wf, cfg, strat_pool, pipe_num, opt=
36673667 node , out = strat_pool .get_data ("desc-stc_bold" )
36683668 out_label = "desc-stc_bold"
36693669 elif opt == "abcd" :
3670- node , out = strat_pool .get_data ("bold " )
3670+ node , out = strat_pool .get_data ("desc-reorient_bold " )
36713671 out_label = "bold"
36723672
36733673 wf .connect (node , out , warp_bold , "in_file" )
@@ -3718,7 +3718,7 @@ def apply_phasediff_to_timeseries_separately(wf, cfg, strat_pool, pipe_num, opt=
37183718 "sbref" ,
37193719 "desc-preproc_bold" ,
37203720 "desc-stc_bold" ,
3721- "bold " ,
3721+ "desc-reorient_bold " ,
37223722 "from-bold_to-template_mode-image_xfm" ,
37233723 "ants-blip-warp" ,
37243724 "fsl-blip-warp" ,
@@ -3775,8 +3775,8 @@ def apply_blip_to_timeseries_separately(wf, cfg, strat_pool, pipe_num, opt=None)
37753775 node , out = strat_pool .get_data ("desc-stc_bold" )
37763776 out_label = "desc-stc_bold"
37773777 elif opt == "abcd" :
3778- node , out = strat_pool .get_data ("bold " )
3779- out_label = "bold "
3778+ node , out = strat_pool .get_data ("desc-reorient_bold " )
3779+ out_label = "desc-reorient_bold "
37803780
37813781 wf .connect (node , out , apply_xfm , "inputspec.input_image" )
37823782
@@ -4421,7 +4421,7 @@ def warp_timeseries_to_T1template_abcd(wf, cfg, strat_pool, pipe_num, opt=None):
44214421 option_val = "dcan_nhp" ,
44224422 inputs = [
44234423 (
4424- ["desc-reorient_bold" , "bold " ],
4424+ ["desc-reorient_bold" , "desc-preproc_bold " ],
44254425 "coordinate-transformation" ,
44264426 "from-T1w_to-template_mode-image_warp" ,
44274427 "from-bold_to-T1w_mode-image_desc-linear_warp" ,
@@ -4552,7 +4552,7 @@ def warp_timeseries_to_T1template_dcan_nhp(wf, cfg, strat_pool, pipe_num, opt=No
45524552 extract_func_roi .inputs .t_min = 0
45534553 extract_func_roi .inputs .t_size = 3
45544554
4555- node , out = strat_pool .get_data (["desc-reorient_bold" , "bold " ])
4555+ node , out = strat_pool .get_data (["desc-reorient_bold" , "desc-preproc_bold " ])
45564556 wf .connect (node , out , extract_func_roi , "in_file" )
45574557
45584558 # fslmaths "$fMRIFolder"/"$NameOffMRI"_gdc_warp -mul 0 "$fMRIFolder"/"$NameOffMRI"_gdc_warp
@@ -4570,7 +4570,7 @@ def warp_timeseries_to_T1template_dcan_nhp(wf, cfg, strat_pool, pipe_num, opt=No
45704570
45714571 split_func .inputs .dimension = "t"
45724572
4573- node , out = strat_pool .get_data (["desc-reorient_bold" , "bold " ])
4573+ node , out = strat_pool .get_data (["desc-reorient_bold" , "desc-preproc_bold " ])
45744574 wf .connect (node , out , split_func , "in_file" )
45754575
45764576 ### Loop starts! ###
0 commit comments