We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f82184c commit 99a1b9bCopy full SHA for 99a1b9b
fmriprep/cli/run.py
@@ -581,6 +581,15 @@ def build_workflow(opts, retval):
581
'spaces (option "--output-space").'
582
)
583
584
+ if opts.cifti_output and (opts.template != 'MNI152NLin2009cAsym' or
585
+ 'template' not in output_spaces):
586
+ output_spaces.append('template')
587
+ logger.warning(
588
+ 'Option "--cifti-output" requires functional images to be resampled to MNI space. '
589
+ 'The argument "template" has been automatically added to the list of output '
590
+ 'spaces (option "--output-space").'
591
+ )
592
+
593
# Check output_space
594
if 'template' not in output_spaces and (opts.use_syn_sdc or opts.force_syn):
595
msg = ['SyN SDC correction requires T1 to MNI registration, but '
0 commit comments