Skip to content

Commit c1cd305

Browse files
authored
Merge pull request #2260 from effigies/fix/ignore_t2w_flair
FIX: Restore --ignore t2w/flair options
2 parents 637fc1f + 7cca64a commit c1cd305

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docs/workflows.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,10 @@ If T1w voxel sizes are less than 1mm in all dimensions (rounding to nearest
209209
.1mm), `submillimeter reconstruction`_ is used, unless disabled with
210210
``--no-submm-recon``.
211211

212+
If T2w or FLAIR images are available, and you do not want them included in
213+
FreeSurfer reconstruction, use ``--ignore t2w`` or ``--ignore flair``,
214+
respectively.
215+
212216
``lh.midthickness`` and ``rh.midthickness`` surfaces are created in the subject
213217
``surf/`` directory, corresponding to the surface half-way between the gray/white
214218
boundary and the pial surface.

fmriprep/cli/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def _bids_filter(value):
242242
action="store",
243243
nargs="+",
244244
default=[],
245-
choices=["fieldmaps", "slicetiming", "sbref"],
245+
choices=["fieldmaps", "slicetiming", "sbref", "t2w", "flair"],
246246
help="ignore selected aspects of the input dataset to disable corresponding "
247247
"parts of the workflow (a space delimited list)",
248248
)

0 commit comments

Comments
 (0)