Skip to content

Commit 0077291

Browse files
committed
FIX: Purge traces of "register" value
1 parent ddcee99 commit 0077291

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fmriprep/workflows/bold/registration.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def init_bold_reg_wf(
9090
If ``None``, test BBR result for distortion before accepting.
9191
bold2anat_dof : 6, 9 or 12
9292
Degrees-of-freedom for BOLD-anatomical registration
93-
bold2anat_init : str, 't1w', 't2w' or 'register'
93+
bold2anat_init : str, 't1w', 't2w' or 'header'
9494
If ``'header'``, use header information for initialization of BOLD and T1 images.
9595
If ``'t1w'``, align BOLD to T1w by their centers.
9696
If ``'t2w'``, align BOLD to T1w using the T2w as an intermediate.
@@ -234,7 +234,7 @@ def init_bbreg_wf(
234234
If ``None``, test BBR result for distortion before accepting.
235235
bold2anat_dof : 6, 9 or 12
236236
Degrees-of-freedom for BOLD-anatomical registration
237-
bold2anat_init : str, 't1w', 't2w' or 'register'
237+
bold2anat_init : str, 't1w', 't2w' or 'header'
238238
If ``'header'``, use header information for initialization of BOLD and T1 images.
239239
If ``'t1w'``, align BOLD to T1w by their centers.
240240
If ``'t2w'``, align BOLD to T1w using the T2w as an intermediate.
@@ -368,7 +368,7 @@ def init_bbreg_wf(
368368
]) # fmt:skip
369369

370370
# Do not initialize with header, use mri_coreg
371-
if bold2anat_init == "register":
371+
if bold2anat_init != "header":
372372
workflow.connect([
373373
(inputnode, mri_coreg, [('subjects_dir', 'subjects_dir'),
374374
('subject_id', 'subject_id'),
@@ -405,7 +405,7 @@ def init_bbreg_wf(
405405

406406
return workflow
407407

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
409409
compare_transforms = pe.Node(niu.Function(function=compare_xforms), name='compare_transforms')
410410

411411
workflow.connect([
@@ -458,7 +458,7 @@ def init_fsl_bbr_wf(
458458
If ``None``, test BBR result for distortion before accepting.
459459
bold2anat_dof : 6, 9 or 12
460460
Degrees-of-freedom for BOLD-anatomical registration
461-
bold2anat_init : str, 't1w', 't2w' or 'register'
461+
bold2anat_init : str, 't1w', 't2w' or 'header'
462462
If ``'header'``, use header information for initialization of BOLD and T1 images.
463463
If ``'t1w'``, align BOLD to T1w by their centers.
464464
If ``'t2w'``, align BOLD to T1w using the T2w as an intermediate.

0 commit comments

Comments
 (0)