Skip to content
Browse files

fix indentation

  • Loading branch information
alexbruy committed Sep 28, 2017
1 parent 0bd3e91 commit c421ae7ebfaaae79496d94434e277de2e9e91e03
Showing with 3 additions and 4 deletions.
  1. +3 −4 python/plugins/processing/algs/saga/
@@ -129,18 +129,17 @@ def defineCharacteristicsFromFile(self):
line = lines.readline().strip('\n').strip()
hasRaster = False
for param in self.parameters:
if (isinstance(param, ParameterRaster) or
(isinstance(param, ParameterMultipleInput)
if (isinstance(param, ParameterRaster) or
(isinstance(param, ParameterMultipleInput)
and param.datatype == ParameterMultipleInput.TYPE_RASTER)):
hasRaster = True

if (not self.noResamplingChoice and hasRaster):
param = ParameterSelection(self.RESAMPLING, "Resampling method", ["Nearest Neighbour", "Bilinear Interpolation", "Bicubic Spline Interpolation", "B-Spline Interpolation"], 3)
param.isAdvanced = True

def processAlgorithm(self, progress):
commands = list()
self.exportedLayers = {}

0 comments on commit c421ae7

Please sign in to comment.
You can’t perform that action at this time.