mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
[processing] always pass number of cores as integer (fix #10894)
This commit is contained in:
parent
410fe67473
commit
7960dc21e3
@ -88,7 +88,7 @@ class TauDEMAlgorithm(GeoAlgorithm):
|
||||
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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user