Skip to content

Commit 7b09fab

Browse files
committed
Address review comments
1 parent 1bde105 commit 7b09fab

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -465,18 +465,18 @@ def init_func_preproc_wf(bold_file, ignore, freesurfer,
465465
('subject_id', 'inputnode.subject_id'),
466466
('t1_2_fsnative_reverse_transform', 'inputnode.t1_2_fsnative_reverse_transform')]),
467467
(inputnode, bold_t1_trans_wf, [
468+
('bold_file', 'inputnode.name_source'),
468469
('t1_brain', 'inputnode.t1_brain'),
469470
('t1_mask', 'inputnode.t1_mask'),
470471
('t1_aseg', 'inputnode.t1_aseg'),
471472
('t1_aparc', 'inputnode.t1_aparc')]),
472-
(inputnode, bold_t1_trans_wf, [('bold_file', 'inputnode.name_source')]),
473473
(bold_split, bold_t1_trans_wf, [('out_files', 'inputnode.bold_split')]),
474474
(bold_hmc_wf, bold_t1_trans_wf, [('outputnode.xforms', 'inputnode.hmc_xforms')]),
475-
(bold_t1_trans_wf, outputnode, [('outputnode.bold_aseg_t1', 'bold_aseg_t1'),
476-
('outputnode.bold_aparc_t1', 'bold_aparc_t1')]),
477475
(bold_reg_wf, bold_t1_trans_wf, [
478476
('outputnode.itk_bold_to_t1', 'inputnode.itk_bold_to_t1')]),
479-
(bold_t1_trans_wf, outputnode, [('outputnode.bold_t1', 'bold_t1')]),
477+
(bold_t1_trans_wf, outputnode, [('outputnode.bold_t1', 'bold_t1'),
478+
('outputnode.bold_aseg_t1', 'bold_aseg_t1'),
479+
('outputnode.bold_aparc_t1', 'bold_aparc_t1')]),
480480
(bold_reg_wf, summary, [('outputnode.fallback', 'fallback')]),
481481
# SDC (or pass-through workflow)
482482
(inputnode, bold_sdc_wf, [

fmriprep/workflows/bold/registration.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
def init_bold_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthreads,
3838
use_compression=True, write_report=True, name='bold_reg_wf'):
3939
"""
40-
The registration between a reference BOLD image and T1-space is calculated
40+
Calculates the registration between a reference BOLD image and T1-space
4141
using a boundary-based registration (BBR) cost function.
4242
4343
If FreeSurfer-based preprocessing is enabled, the ``bbregister`` utility
@@ -171,12 +171,6 @@ def init_bold_t1_trans_wf(freesurfer, mem_gb, omp_nthreads, use_fieldwarp=False,
171171
This workflow registers the reference BOLD image to T1-space, using a
172172
boundary-based registration (BBR) cost function.
173173
174-
If FreeSurfer-based preprocessing is enabled, the ``bbregister`` utility
175-
is used to align the BOLD images to the reconstructed subject, and the
176-
resulting transform is adjusted to target the T1 space.
177-
If FreeSurfer-based preprocessing is disabled, FSL FLIRT is used with the
178-
BBR cost function to directly target the T1 space.
179-
180174
.. workflow::
181175
:graph2use: orig
182176
:simple_form: yes

0 commit comments

Comments
 (0)