Skip to content

Commit 3c6303d

Browse files
authored
Merge pull request #1328 from poldracklab/hotfix/reports-3
[HOTFIX] Reportlets - bbregister vs flirtbbr (continues #1326)
2 parents fbe25f0 + 5da2e92 commit 3c6303d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fmriprep/viz/config.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
},
101101
{
102102
"name": "epi_mean_t1_registration/flirt",
103-
"file_pattern": "func/.*_flirt",
103+
"file_pattern": "func/.*_flirtnobbr",
104104
"title": "EPI to T1 registration",
105105
"description": "FSL <code>flirt</code> was used to generate transformations from EPI space to T1 Space - BBR refinement rejected"
106106
},
@@ -111,14 +111,14 @@
111111
"description": "<code>mri_coreg</code> (FreeSurfer) was used to generate transformations from EPI space to T1 Space - <code>bbregister</code> refinement rejected"
112112
},
113113
{
114-
"name": "epi_mean_t1_registration/flt_bbr",
115-
"file_pattern": "func/.*_flt_bbr",
114+
"name": "epi_mean_t1_registration/flirtbbr",
115+
"file_pattern": "func/.*_flirtbbr",
116116
"title": "EPI to T1 registration",
117117
"description": "FSL <code>flirt</code> was used to generate transformations from EPI-space to T1w-space - The white matter mask calculated with FSL <code>fast</code> (brain tissue segmentation) was used for BBR"
118118
},
119119
{
120-
"name": "epi_mean_t1_registration/bbr",
121-
"file_pattern": "func/.*_bbr",
120+
"name": "epi_mean_t1_registration/bbregister",
121+
"file_pattern": "func/.*_bbregister",
122122
"title": "EPI to T1 registration",
123123
"description": "<code>bbregister</code> was used to generate transformations from EPI-space to T1w-space"
124124
},

fmriprep/workflows/bold/registration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ def init_bold_reg_wf(freesurfer, use_bbr, bold2t1w_dof, mem_gb, omp_nthreads,
157157

158158
def _bold_reg_suffix(fallback, freesurfer):
159159
if fallback:
160-
return 'coreg' if freesurfer else 'flirt'
161-
return 'bbr' if freesurfer else 'flt_bbr'
160+
return 'coreg' if freesurfer else 'flirtnobbr'
161+
return 'bbregister' if freesurfer else 'flirtbbr'
162162

163163
workflow.connect([
164164
(bbr_wf, ds_report_reg, [

0 commit comments

Comments
 (0)