Skip to content

Commit 8b93faf

Browse files
committed
Merge pull request #526 from miykael/patch-1
Update legacy.py - buildtemplateparallel.sh
2 parents 68d71d8 + a89ef0d commit 8b93faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/legacy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class buildtemplateparallel(ANTSCommand):
205205
def _format_arg(self, opt, spec, val):
206206
if opt == 'num_cores':
207207
if self.inputs.parallelization == 2:
208-
return '-j ' + val
208+
return '-j ' + str(val)
209209
else:
210210
return ''
211211
if opt == 'in_files':

0 commit comments

Comments
 (0)