Skip to content

Commit f589334

Browse files
committed
docs, fixes
1 parent 42792ea commit f589334

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

fmriprep/cli/run.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,11 @@ def get_parser():
8383
# Re-enable when option is actually implemented
8484
# g_bids.add_argument('-r', '--run-id', action='store', default='single_run',
8585
# help='select a specific run to be processed')
86-
g_bids.add_argument('--bids-filters', action='store', type=Path,
87-
help='the path to a JSON file describing custom BIDS input filter')
86+
g_bids.add_argument(
87+
'--bids-filters', action='store', type=Path,
88+
help='the path to a JSON file describing custom BIDS input filter'
89+
' using pybids {<suffix>:{<entity>:<filter>,...},...} '
90+
'(https://github.com/bids-standard/pybids/blob/master/bids/layout/config/bids.json)')
8891
g_bids.add_argument('-t', '--task-id', action='store',
8992
help='select a specific task to be processed')
9093
g_bids.add_argument('--echo-idx', action='store', type=int,

fmriprep/workflows/base.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,9 @@ def init_fmriprep_wf(
208208
If fieldmaps are present and enabled, this is not run, by default.
209209
work_dir : str
210210
Directory in which to store workflow execution state and temporary files
211+
bids_filters : dict
212+
Provides finer specification of the pipeline input files using pybids entities filters.
213+
A dict with the following structure {<suffix>:{<entity>:<filter>,...},...}
211214
212215
"""
213216
fmriprep_wf = Workflow(name='fmriprep_wf')
@@ -455,7 +458,8 @@ def init_single_subject_wf(
455458
**Experimental**: Enable ANTs SyN-based susceptibility distortion correction (SDC).
456459
If fieldmaps are present and enabled, this is not run, by default.
457460
bids_filters : dict
458-
For BIDSDataGrabber output_query
461+
Provides finer specification of the pipeline input files using pybids entities filters.
462+
A dict with the following structure {<suffix>:{<entity>:<filter>,...},...}
459463
460464
Inputs
461465

0 commit comments

Comments
 (0)