Skip to content

Commit 3aa2fcc

Browse files
tsaloeffigies
andauthored
Apply suggestions from code review
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 9aeab65 commit 3aa2fcc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

fmriprep/interfaces/multiecho.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class T2SMapInputSpec(CommandLineInputSpec):
6969
),
7070
)
7171
n_exclude = traits.Int(
72-
argstr='--exclude %s',
72+
argstr='--exclude 0:%d',
7373
position=5,
7474
desc='Number of volumes from the beginning of the run to exclude from T2*/S0 estimation.',
7575
)
@@ -108,9 +108,6 @@ class T2SMap(CommandLine):
108108
def _format_arg(self, name, trait_spec, value):
109109
if name == 'echo_times':
110110
value = [te * 1000 for te in value]
111-
if name == 'n_exclude':
112-
# Convert to a range
113-
value = f'0:{value}'
114111
return super()._format_arg(name, trait_spec, value)
115112

116113
def _list_outputs(self):

0 commit comments

Comments
 (0)