File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
# the computer (when running MultiProc) by forcing everything to
16
16
# single threaded. This can be a severe penalty for registration
17
17
# performance.
18
- LOCAL_DEFAULT_NUMBER_OF_THREADS = - 1
18
+ LOCAL_DEFAULT_NUMBER_OF_THREADS = 1
19
19
# -Using NSLOTS has the same behavior as ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS
20
20
# as long as ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS is not set. Otherwise
21
21
# ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS takes precidence.
@@ -28,8 +28,8 @@ class ANTSCommandInputSpec(CommandLineInputSpec):
28
28
"""Base Input Specification for all ANTS Commands
29
29
"""
30
30
31
- num_threads = traits .Int (LOCAL_DEFAULT_NUMBER_OF_THREADS , usedefault = True , nohash = True ,
32
- desc = "Number of ITK threads to use" )
31
+ num_threads = traits .Int (LOCAL_DEFAULT_NUMBER_OF_THREADS , usedefault = True ,
32
+ nohash = True , desc = "Number of ITK threads to use" )
33
33
34
34
35
35
class ANTSCommand (CommandLine ):
You can’t perform that action at this time.
0 commit comments