Skip to content

Commit ae7dc34

Browse files
committed
Set nohash for num_threads in 3dDeconvolve
1 parent b7ea933 commit ae7dc34

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

nipype/interfaces/afni/model.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ class DeconvolveInputSpec(AFNICommandInputSpec):
155155
out_file = File(desc='output statistics file', argstr='-bucket %s')
156156
num_threads = traits.Int(
157157
desc='run the program with provided number of sub-processes',
158-
argstr='-jobs %d')
158+
argstr='-jobs %d',
159+
nohash=True)
159160
fout = traits.Bool(
160161
desc='output F-statistic for each stimulus', argstr='-fout')
161162
rout = traits.Bool(

nipype/interfaces/afni/tests/test_auto_Deconvolve.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,10 @@ def test_Deconvolve_inputs():
6969
argstr='-num_stimts %d',
7070
position=-6,
7171
),
72-
num_threads=dict(argstr='-jobs %d', ),
72+
num_threads=dict(
73+
argstr='-jobs %d',
74+
nohash=True,
75+
),
7376
ortvec=dict(argstr='-ortvec %s %s', ),
7477
out_file=dict(argstr='-bucket %s', ),
7578
outputtype=dict(),

0 commit comments

Comments
 (0)