File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
153
153
'instead of the bucket dataset, if possible.' ,
154
154
argstr = '-cbucket %s' )
155
155
out_file = File (desc = 'output statistics file' , argstr = '-bucket %s' )
156
- jobs = traits .Int (
156
+ num_threads = traits .Int (
157
157
desc = 'run the program with provided number of sub-processes' ,
158
158
argstr = '-jobs %d' )
159
159
fout = traits .Bool (
@@ -278,8 +278,6 @@ def _parse_inputs(self, skip=None):
278
278
self .inputs .num_glt = len (self .inputs .gltsym )
279
279
if not isdefined (self .inputs .out_file ):
280
280
self .inputs .out_file = 'Decon.nii'
281
- if isdefined (self .inputs .jobs ):
282
- self .inputs .num_threads = self .inputs .jobs
283
281
284
282
return super (Deconvolve , self )._parse_inputs (skip )
285
283
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ def test_Deconvolve_inputs():
49
49
sep = ' ' ,
50
50
),
51
51
input1D = dict (argstr = '-input1D %s' , ),
52
- jobs = dict (argstr = '-jobs %d' , ),
53
52
legendre = dict (argstr = '-legendre' , ),
54
53
local_times = dict (
55
54
argstr = '-local_times' ,
@@ -70,10 +69,7 @@ def test_Deconvolve_inputs():
70
69
argstr = '-num_stimts %d' ,
71
70
position = - 6 ,
72
71
),
73
- num_threads = dict (
74
- nohash = True ,
75
- usedefault = True ,
76
- ),
72
+ num_threads = dict (argstr = '-jobs %d' , ),
77
73
ortvec = dict (argstr = '-ortvec %s %s' , ),
78
74
out_file = dict (argstr = '-bucket %s' , ),
79
75
outputtype = dict (),
You can’t perform that action at this time.
0 commit comments