Skip to content
Browse files

[processing] fixes in SAGA algorithm after latest changes

  • Loading branch information
volaya committed Aug 22, 2017
1 parent ce14633 commit 7ca8de9ffff0b92a8a7896bbbb6aa9f7afde3416
Showing with 1 addition and 3 deletions.
  1. +1 −3 python/plugins/processing/algs/saga/
@@ -128,16 +128,14 @@ def defineCharacteristicsFromFile(self):
line = lines.readline().strip('\n').strip()
hasRaster = False
hasHardcodedResampling = False
for param in self.parameters:
if (isinstance(param, ParameterRaster) or
(isinstance(param, ParameterMultipleInput)
and param.type == ParameterMultipleInput.TYPE_RASTER)):
hasRaster = True

if (not self.noResamplingChoice and
not self.forceNearestNeighbour and hasRaster):
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

0 comments on commit 7ca8de9

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