Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] always pass number of cores as integer (fix #10894)
  • Loading branch information
alexbruy committed Oct 4, 2014
1 parent 410fe67 commit 7960dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/taudem/TauDEMAlgorithm.py
Expand Up @@ -88,7 +88,7 @@ def processAlgorithm(self, progress):
commands = []
commands.append(os.path.join(TauDEMUtils.mpiexecPath(), 'mpiexec'))

processNum = ProcessingConfig.getSetting(TauDEMUtils.MPI_PROCESSES)
processNum = int(ProcessingConfig.getSetting(TauDEMUtils.MPI_PROCESSES))
if processNum <= 0:
raise GeoAlgorithmExecutionException('Wrong number of MPI \
processes used.\nPlease set correct number before running \
Expand Down

0 comments on commit 7960dc2

Please sign in to comment.