Skip to content

Commit 7960dc2

Browse files
committedOct 4, 2014
[processing] always pass number of cores as integer (fix #10894)
1 parent 410fe67 commit 7960dc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/taudem/TauDEMAlgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def processAlgorithm(self, progress):
8888
commands = []
8989
commands.append(os.path.join(TauDEMUtils.mpiexecPath(), 'mpiexec'))
9090

91-
processNum = ProcessingConfig.getSetting(TauDEMUtils.MPI_PROCESSES)
91+
processNum = int(ProcessingConfig.getSetting(TauDEMUtils.MPI_PROCESSES))
9292
if processNum <= 0:
9393
raise GeoAlgorithmExecutionException('Wrong number of MPI \
9494
processes used.\nPlease set correct number before running \

0 commit comments

Comments
 (0)
Please sign in to comment.