Skip to content
Permalink
Browse files

Indentation update

  • Loading branch information
m-kuhn committed Dec 15, 2015
1 parent 0eb36d5 commit 4f2da483aca88e03534b06145c3881c25f0168e4
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/plugins/processing/modeler/ModelerAlgorithm.py
@@ -273,7 +273,7 @@ def updateAlgorithm(self, alg):
alg.outputs[out].pos = (alg.outputs[out].pos or
alg.pos + QPointF(
ModelerGraphicItem.BOX_WIDTH,
(i + 1.5) * ModelerGraphicItem.BOX_HEIGHT))
(i + 1.5) * ModelerGraphicItem.BOX_HEIGHT))

def removeAlgorithm(self, name):
"""Returns True if the algorithm could be removed, False if
@@ -355,7 +355,7 @@ def getDependentAlgorithms(self, name):
if isinstance(v, ValueFromOutput) and v.alg == name:
algs.update(self.getDependentAlgorithms(alg.name))
elif isinstance(value, ValueFromOutput) and value.alg == name:
algs.update(self.getDependentAlgorithms(alg.name))
algs.update(self.getDependentAlgorithms(alg.name))

return algs

@@ -618,7 +618,7 @@ def _tr(s):
line = lines.readline().strip('\n')
tokens = line.split(',')
model.addParameter(ModelerParameter(param,
QPointF(float(tokens[0]), float(tokens[1]))))
QPointF(float(tokens[0]), float(tokens[1]))))
modelParameters.append(param.name)
elif line.startswith('VALUE:'):
valueLine = line[len('VALUE:'):]

0 comments on commit 4f2da48

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