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 9aeab65 commit 3aa2fccCopy full SHA for 3aa2fcc
fmriprep/interfaces/multiecho.py
@@ -69,7 +69,7 @@ class T2SMapInputSpec(CommandLineInputSpec):
69
),
70
)
71
n_exclude = traits.Int(
72
- argstr='--exclude %s',
+ argstr='--exclude 0:%d',
73
position=5,
74
desc='Number of volumes from the beginning of the run to exclude from T2*/S0 estimation.',
75
@@ -108,9 +108,6 @@ class T2SMap(CommandLine):
108
def _format_arg(self, name, trait_spec, value):
109
if name == 'echo_times':
110
value = [te * 1000 for te in value]
111
- if name == 'n_exclude':
112
- # Convert to a range
113
- value = f'0:{value}'
114
return super()._format_arg(name, trait_spec, value)
115
116
def _list_outputs(self):
0 commit comments