@@ -90,7 +90,7 @@ def init_bold_reg_wf(
90
90
If ``None``, test BBR result for distortion before accepting.
91
91
bold2anat_dof : 6, 9 or 12
92
92
Degrees-of-freedom for BOLD-anatomical registration
93
- bold2anat_init : str, 't1w', 't2w' or 'register '
93
+ bold2anat_init : str, 't1w', 't2w' or 'header '
94
94
If ``'header'``, use header information for initialization of BOLD and T1 images.
95
95
If ``'t1w'``, align BOLD to T1w by their centers.
96
96
If ``'t2w'``, align BOLD to T1w using the T2w as an intermediate.
@@ -234,7 +234,7 @@ def init_bbreg_wf(
234
234
If ``None``, test BBR result for distortion before accepting.
235
235
bold2anat_dof : 6, 9 or 12
236
236
Degrees-of-freedom for BOLD-anatomical registration
237
- bold2anat_init : str, 't1w', 't2w' or 'register '
237
+ bold2anat_init : str, 't1w', 't2w' or 'header '
238
238
If ``'header'``, use header information for initialization of BOLD and T1 images.
239
239
If ``'t1w'``, align BOLD to T1w by their centers.
240
240
If ``'t2w'``, align BOLD to T1w using the T2w as an intermediate.
@@ -368,7 +368,7 @@ def init_bbreg_wf(
368
368
]) # fmt:skip
369
369
370
370
# Do not initialize with header, use mri_coreg
371
- if bold2anat_init == "register " :
371
+ if bold2anat_init != "header " :
372
372
workflow .connect ([
373
373
(inputnode , mri_coreg , [('subjects_dir' , 'subjects_dir' ),
374
374
('subject_id' , 'subject_id' ),
@@ -405,7 +405,7 @@ def init_bbreg_wf(
405
405
406
406
return workflow
407
407
408
- # Only reach this point if bold2anat_init is "register " and use_bbr is None
408
+ # Only reach this point if bold2anat_init is "t1w" or "t2w " and use_bbr is None
409
409
compare_transforms = pe .Node (niu .Function (function = compare_xforms ), name = 'compare_transforms' )
410
410
411
411
workflow .connect ([
@@ -458,7 +458,7 @@ def init_fsl_bbr_wf(
458
458
If ``None``, test BBR result for distortion before accepting.
459
459
bold2anat_dof : 6, 9 or 12
460
460
Degrees-of-freedom for BOLD-anatomical registration
461
- bold2anat_init : str, 't1w', 't2w' or 'register '
461
+ bold2anat_init : str, 't1w', 't2w' or 'header '
462
462
If ``'header'``, use header information for initialization of BOLD and T1 images.
463
463
If ``'t1w'``, align BOLD to T1w by their centers.
464
464
If ``'t2w'``, align BOLD to T1w using the T2w as an intermediate.
0 commit comments