Skip to content

Commit 22b3182

Browse files
committed
Merge pull request #1154 from oesteban/enh/UseNoHashInElastixThreads
[minor] Add nohash=True to elastix num_threads
2 parents 8df64cd + 3240774 commit 22b3182

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/interfaces/elastix/base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@
1919
class ElastixBaseInputSpec(CommandLineInputSpec):
2020
output_path = Directory('./', exists=True, mandatory=True, usedefault=True,
2121
argstr='-out %s', desc='output directory')
22-
num_threads = traits.Int(1, argstr='-threads %01d',
23-
desc='set the maximum number of threads of elastix')
22+
num_threads = traits.Int(
23+
1, argstr='-threads %01d', nohash=True,
24+
desc='set the maximum number of threads of elastix')

0 commit comments

Comments
 (0)