Skip to content
Browse files
remove unused method
  • Loading branch information
luipir committed Aug 28, 2018
1 parent 6a2934c commit d3144b97affc3ff9bb0ae024e4891fc5e2b49611
Showing with 0 additions and 18 deletions.
  1. +0 −18 python/plugins/processing/algs/qgis/
@@ -79,24 +79,6 @@ def type(self):
def clone(self):
return ParameterRasterCalculatorExpression(, self.description(), self.multiLine())

# TODO: remove this unused method?
def evaluateForModeler(self, value, model):
for i in list(model.inputs.values()):
param = i.param
if isinstance(param, QgsProcessingParameterRasterLayer):
new = "{}@".format(os.path.basename(param.value))
old = "{}@".format(
value = value.replace(old, new)

for alg in list(model.algs.values()):
for out in alg.algorithm.outputs:
if isinstance(out, QgsProcessingOutputRasterLayer):
if out.value:
new = "{}@".format(os.path.basename(out.value))
old = "{}:{}@".format(alg.modeler_name,
value = value.replace(old, new)
return value


0 comments on commit d3144b9

Please sign in to comment.