Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Indentation update
  • Loading branch information
m-kuhn committed Dec 15, 2015
1 parent 0eb36d5 commit 4f2da48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/plugins/processing/modeler/ModelerAlgorithm.py
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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:'):]
Expand Down

0 comments on commit 4f2da48

Please sign in to comment.