Skip to content
Permalink
Browse files
[processing] fixed issue with saga optimizations
  • Loading branch information
volaya committed Sep 15, 2013
1 parent df257ea commit 6058023d99e92ffb3d6002288bb9bc0cda85c310
Showing with 4 additions and 2 deletions.
  1. +1 −1 python/plugins/processing/core/GeoAlgorithm.py
  2. +3 −1 python/plugins/processing/saga/SagaAlgorithm.py
@@ -171,7 +171,7 @@ def execute(self, progress, model = None):
lines.append(errstring)
lines.append(errstring.replace("\n", "|"))
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR, lines)
raise GeoAlgorithmExecutionException(str(e))
raise GeoAlgorithmExecutionException(str(e) + "\nSee log for more details")


def runPostExecutionScript(self, progress):
@@ -229,7 +229,9 @@ def processAlgorithm(self, progress):
if param.datatype == ParameterMultipleInput.TYPE_RASTER:
for layerfile in layers:
if not layerfile.endswith("sgrd"):
commands.append(self.exportRasterLayer(layerfile))
exportCommand = self.exportRasterLayer(layerfile)
if exportCommand is not None:
commands.append()
if self.resample:
commands.append(self.resampleRasterLayer(layerfile));
elif param.datatype == ParameterMultipleInput.TYPE_VECTOR_ANY:

0 comments on commit 6058023

Please sign in to comment.