Skip to content

Commit c31a410

Browse files
authored
DOC: Fix documentation and description for init_bold_grayords_wf
1 parent 01a13ca commit c31a410

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

fmriprep/workflows/bold/resampling.py

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,19 +1241,20 @@ def init_bold_grayords_wf(
12411241
Either ``"91k"`` or ``"170k"``, representing the total *grayordinates*.
12421242
mem_gb : :obj:`float`
12431243
Size of BOLD file in GB
1244+
repetition_time : :obj:`float`
1245+
Repetition time in seconds
12441246
name : :obj:`str`
12451247
Unique name for the subworkflow (default: ``"bold_grayords_wf"``)
12461248
12471249
Inputs
12481250
------
1251+
bold_fsLR : :obj:`str`
1252+
List of paths to BOLD series resampled as functional GIFTI files in fsLR space
12491253
bold_std : :obj:`str`
12501254
List of BOLD conversions to standard spaces.
12511255
spatial_reference : :obj:`str`
12521256
List of unique identifiers corresponding to the BOLD standard-conversions.
1253-
surf_files : :obj:`str`
1254-
List of BOLD files resampled on the fsaverage (ico7) surfaces.
1255-
surf_refs :
1256-
List of unique identifiers corresponding to the BOLD surface-conversions.
1257+
12571258
12581259
Outputs
12591260
-------
@@ -1268,16 +1269,18 @@ def init_bold_grayords_wf(
12681269
from niworkflows.interfaces.utility import KeySelect
12691270

12701271
workflow = Workflow(name=name)
1272+
1273+
mni_density = "2" if grayord_density == "91k" else "1"
1274+
12711275
workflow.__desc__ = """\
12721276
*Grayordinates* files [@hcppipelines] containing {density} samples were also
1273-
generated using the highest-resolution ``fsaverage`` as intermediate standardized
1274-
surface space.
1277+
generated with surface data transformed directly to fsLR space and subcortical
1278+
data transformed to {mni_density} mm resolution MNI152NLin6Asym space.
12751279
""".format(
1276-
density=grayord_density
1280+
density=grayord_density,
1281+
mni_density=mni_density
12771282
)
12781283

1279-
mni_density = "2" if grayord_density == "91k" else "1"
1280-
12811284
inputnode = pe.Node(
12821285
niu.IdentityInterface(
12831286
fields=[

0 commit comments

Comments
 (0)