Skip to content

Commit 306f0d1

Browse files
committed
fix: ensure else at end of logic
1 parent 2ef543b commit 306f0d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mindboggle/mindboggle123

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,16 +247,14 @@ def mindboggle(subjectid, fsdir, antsdir, antsseg, out, prov, args,
247247
248248
"""
249249
import os
250-
251250
from nipype.interfaces.base import CommandLine
252251

253252
DATA = os.path.join(fsdir, subjectid)
254253
ants = os.path.join(antsdir, subjectid, antsseg)
255254

256255
all_args = ' '.join([DATA, '--out', out, '--ants', ants,
257256
'--working', os.getcwd()] +
258-
['--prov'] if prov else [] +
259-
[args])
257+
[args] + ['--prov'] if prov else [])
260258

261259
if num_threads > 1:
262260
all_args += ' --plugin MultiProc --plugin_args "dict(n_procs={0})"'.\

0 commit comments

Comments
 (0)