Skip to content

Commit 9709872

Browse files
committed
add nohash=True on nthreads option
1 parent efc08b3 commit 9709872

11 files changed

+12
-4
lines changed

nipype/interfaces/mrtrix3/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
class MRTrix3BaseInputSpec(CommandLineInputSpec):
2929
nthreads = traits.Int(
3030
argstr='-nthreads %d', desc='number of threads. if zero, the number'
31-
' of available cpus will be used')
31+
' of available cpus will be used', nohash=True)
3232
# DW gradient table import options
3333
grad_file = File(exists=True, argstr='-grad %s',
3434
desc='dw gradient scheme (MRTrix format')

nipype/interfaces/mrtrix3/connectivity.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class BuildConnectomeInputSpec(CommandLineInputSpec):
3333

3434
nthreads = traits.Int(
3535
argstr='-nthreads %d', desc='number of threads. if zero, the number'
36-
' of available cpus will be used')
36+
' of available cpus will be used', nohash=True)
3737

3838
vox_lookup = traits.Bool(
3939
argstr='-assignment_voxel_lookup',
@@ -137,7 +137,7 @@ class LabelConfigInputSpec(CommandLineInputSpec):
137137
' matrix.')
138138
nthreads = traits.Int(
139139
argstr='-nthreads %d', desc='number of threads. if zero, the number'
140-
' of available cpus will be used')
140+
' of available cpus will be used', nohash=True)
141141

142142

143143
class LabelConfigOutputSpec(TraitedSpec):

nipype/interfaces/mrtrix3/tests/test_auto_BrainMask.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def test_BrainMask_inputs():
2222
position=-2,
2323
),
2424
nthreads=dict(argstr='-nthreads %d',
25+
nohash=True,
2526
),
2627
out_file=dict(argstr='%s',
2728
mandatory=True,

nipype/interfaces/mrtrix3/tests/test_auto_BuildConnectome.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_BuildConnectome_inputs():
2727
metric=dict(argstr='-metric %s',
2828
),
2929
nthreads=dict(argstr='-nthreads %d',
30+
nohash=True,
3031
),
3132
out_file=dict(argstr='%s',
3233
mandatory=True,

nipype/interfaces/mrtrix3/tests/test_auto_ComputeTDI.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def test_ComputeTDI_inputs():
3232
max_tod=dict(argstr='-tod %d',
3333
),
3434
nthreads=dict(argstr='-nthreads %d',
35+
nohash=True,
3536
),
3637
out_file=dict(argstr='%s',
3738
position=-1,

nipype/interfaces/mrtrix3/tests/test_auto_EstimateFOD.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ def test_EstimateFOD_inputs():
3232
neg_lambda=dict(argstr='-neg_lambda %f',
3333
),
3434
nthreads=dict(argstr='-nthreads %d',
35+
nohash=True,
3536
),
3637
out_file=dict(argstr='%s',
3738
mandatory=True,

nipype/interfaces/mrtrix3/tests/test_auto_FitTensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def test_FitTensor_inputs():
2626
method=dict(argstr='-method %s',
2727
),
2828
nthreads=dict(argstr='-nthreads %d',
29+
nohash=True,
2930
),
3031
out_file=dict(argstr='%s',
3132
mandatory=True,

nipype/interfaces/mrtrix3/tests/test_auto_LabelConfig.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def test_LabelConfig_inputs():
2727
lut_itksnap=dict(argstr='-lut_itksnap %s',
2828
),
2929
nthreads=dict(argstr='-nthreads %d',
30+
nohash=True,
3031
),
3132
out_file=dict(argstr='%s',
3233
mandatory=True,

nipype/interfaces/mrtrix3/tests/test_auto_ResponseSD.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def test_ResponseSD_inputs():
3434
max_sh=dict(argstr='-lmax %d',
3535
),
3636
nthreads=dict(argstr='-nthreads %d',
37+
nohash=True,
3738
),
3839
out_file=dict(argstr='%s',
3940
mandatory=True,

nipype/interfaces/mrtrix3/tests/test_auto_Tractography.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def test_Tractography_inputs():
5757
noprecompt=dict(argstr='-noprecomputed',
5858
),
5959
nthreads=dict(argstr='-nthreads %d',
60+
nohash=True,
6061
),
6162
out_file=dict(argstr='%s',
6263
mandatory=True,

0 commit comments

Comments
 (0)