Skip to content

Commit

Permalink
Merge pull request #1249 from nipreps/enh/dwi-length-cli
Browse files Browse the repository at this point in the history
ENH: Expose a command-line option for minimum DWI volumes
  • Loading branch information
oesteban committed Apr 10, 2024
2 parents 8002f59 + 831f2d8 commit 4d0e48c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mriqc/cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,17 @@ def _bids_filter(value):
help='Path to JSON file with settings for ANTs.',
)

# Diffusion workflow settings
g_dwi = parser.add_argument_group('Diffusion MRI workflow configuration')
g_dwi.add_argument(
'--min-dwi-length',
action='store',
default=config.workflow.min_len_dwi,
dest='min_len_dwi',
help='Drop DWI runs with fewer orientations than this threshold.',
type=int,
)

# Functional workflow settings
g_func = parser.add_argument_group('Functional MRI workflow configuration')
g_func.add_argument(
Expand Down

0 comments on commit 4d0e48c

Please sign in to comment.