Skip to content

Commit 5cdceda

Browse files
committed
RPT: Update boilerplate on new bold_wf
1 parent 8c084a6 commit 5cdceda

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

fmriprep/workflows/bold/base.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,14 @@ def init_bold_wf(
181181
)
182182

183183
workflow = Workflow(name=_get_wf_name(bold_file, "bold"))
184+
workflow.__postdesc__ = """\
185+
All resamplings can be performed with *a single interpolation
186+
step* by composing all the pertinent transformations (i.e. head-motion
187+
transform matrices, susceptibility distortion correction when available,
188+
and co-registrations to anatomical and output spaces).
189+
Gridded (volumetric) resamplings were performed using `nitransforms`,
190+
configured with cubic B-spline interpolation.
191+
"""
184192

185193
inputnode = pe.Node(
186194
niu.IdentityInterface(
@@ -456,6 +464,10 @@ def init_bold_wf(
456464
]) # fmt:skip
457465

458466
if config.workflow.run_reconall and freesurfer_spaces:
467+
workflow.__postdesc__ += """\
468+
Non-gridded (surface) resamplings were performed using `mri_vol2surf`
469+
(FreeSurfer).
470+
"""
459471
config.loggers.workflow.debug("Creating BOLD surface-sampling workflow.")
460472
bold_surf_wf = init_bold_surf_wf(
461473
mem_gb=mem_gb["resampled"],

fmriprep/workflows/bold/resampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def init_bold_fsLR_resampling_wf(
583583

584584
workflow.__desc__ = """\
585585
The BOLD time-series were resampled onto the left/right-symmetric template
586-
"fsLR" [@hcppipelines].
586+
"fsLR" using the Connectome Workbench [@hcppipelines].
587587
"""
588588

589589
inputnode = pe.Node(

0 commit comments

Comments
 (0)