Skip to content

Commit bc9709e

Browse files
committed
fix: do not clear args if prov set to False
1 parent 7f6ca6a commit bc9709e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mindboggle/mindboggle123

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def mindboggle(subjectid, fsdir, antsdir, antsseg, out, prov, args,
254254

255255
all_args = ' '.join([DATA, '--out', out, '--ants', ants,
256256
'--working', os.getcwd()] +
257-
[args] + ['--prov'] if prov else [])
257+
[args] + (['--prov'] if prov else []))
258258

259259
if num_threads > 1:
260260
all_args += ' --plugin MultiProc --plugin_args "dict(n_procs={0})"'.\
@@ -415,11 +415,7 @@ else:
415415
mbFlow.connect(corticalthickness, 'BrainSegmentation',
416416
Mindboggle, 'antsseg')
417417
Mindboggle.inputs.out = mindboggle_output
418-
<<<<<<< HEAD
419-
Mindboggle.inputs.prov = False # args.prov disable
420-
=======
421418
Mindboggle.inputs.prov = False # args.prov
422-
>>>>>>> 66144b0f47b9b3294361cdbf440d768c9252b5cb
423419
Mindboggle.inputs.args = '--roygbiv' # ' --graph hier'
424420
if args.mb_num_threads:
425421
Mindboggle.inputs.num_threads = args.mb_num_threads

0 commit comments

Comments
 (0)