@@ -46,6 +46,7 @@ def get_parser():
46
46
from .version import check_latest , is_flagged
47
47
48
48
verstr = 'fmriprep v{}' .format (__version__ )
49
+ currentv = Version (__version__ )
49
50
50
51
parser = ArgumentParser (description = 'FMRIPREP: fMRI PREProcessing workflows' ,
51
52
formatter_class = RawTextHelpFormatter )
@@ -140,8 +141,11 @@ def get_parser():
140
141
Non-standard spaces (valid keywords: %s) imply specific orientations and sampling \
141
142
grids. \
142
143
Important to note, the ``res-*`` modifier does not define the resolution used for \
143
- the spatial normalization """ % (', ' .join ('"%s"' % s for s in templates ()),
144
- ', ' .join (NONSTANDARD_REFERENCES )))
144
+ the spatial normalization.
145
+ For further details, please check out \
146
+ https://fmriprep.readthedocs.io/en/%s/spaces.html""" % (
147
+ ', ' .join ('"%s"' % s for s in templates ()), ', ' .join (NONSTANDARD_REFERENCES ),
148
+ currentv .base_version ))
145
149
146
150
g_conf .add_argument (
147
151
'--output-space' , required = False , action = 'store' , type = str , nargs = '+' ,
@@ -276,9 +280,7 @@ def get_parser():
276
280
g_other .add_argument ('--sloppy' , action = 'store_true' , default = False ,
277
281
help = 'Use low-quality tools for speed - TESTING ONLY' )
278
282
279
- currentv = Version (__version__ )
280
283
latest = check_latest ()
281
-
282
284
if latest is not None and currentv < latest :
283
285
print ("""\
284
286
You are using fMRIPrep-%s, and a newer version of fMRIPrep is available: %s.
0 commit comments