Skip to content

Commit 43cca2c

Browse files
committed
enh: better help for command line arg --output-spaces
1 parent 8e540b0 commit 43cca2c

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

dmriprep/cli/parser.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,13 @@ def _bids_filter(value):
130130
a keyword designating a spatial reference, and may be followed by optional, \
131131
colon-separated parameters. \
132132
Non-standard spaces imply specific orientations and sampling grids. \
133+
The default value of this flag (meaning, if the argument is not include in the command line) \
134+
is ``--output-spaces run`` - the original space and sampling grid of the original DWI run. \
133135
Important to note, the ``res-*`` modifier does not define the resolution used for \
134-
the spatial normalization. To generate no DWI outputs, use this option without specifying \
135-
any spatial references. For further details, please check out \
136-
https://www.nipreps.org/dmriprep/%s/spaces.html""" % (currentv.base_version
137-
if is_release else 'latest'))
136+
the spatial normalization. To generate no DWI outputs (if that is intended for some reason), \
137+
use this option without specifying any spatial references. For further details, please check out \
138+
https://www.nipreps.org/dmriprep/en/%s/spaces.html""" % (currentv.base_version
139+
if is_release else 'latest'))
138140

139141
# ANTs options
140142
g_ants = parser.add_argument_group('Specific options for ANTs registrations')

0 commit comments

Comments
 (0)