@@ -273,7 +273,7 @@ def updateAlgorithm(self, alg):
273
273
alg .outputs [out ].pos = (alg .outputs [out ].pos or
274
274
alg .pos + QPointF (
275
275
ModelerGraphicItem .BOX_WIDTH ,
276
- (i + 1.5 ) * ModelerGraphicItem .BOX_HEIGHT ))
276
+ (i + 1.5 ) * ModelerGraphicItem .BOX_HEIGHT ))
277
277
278
278
def removeAlgorithm (self , name ):
279
279
"""Returns True if the algorithm could be removed, False if
@@ -355,7 +355,7 @@ def getDependentAlgorithms(self, name):
355
355
if isinstance (v , ValueFromOutput ) and v .alg == name :
356
356
algs .update (self .getDependentAlgorithms (alg .name ))
357
357
elif isinstance (value , ValueFromOutput ) and value .alg == name :
358
- algs .update (self .getDependentAlgorithms (alg .name ))
358
+ algs .update (self .getDependentAlgorithms (alg .name ))
359
359
360
360
return algs
361
361
@@ -618,7 +618,7 @@ def _tr(s):
618
618
line = lines .readline ().strip ('\n ' )
619
619
tokens = line .split (',' )
620
620
model .addParameter (ModelerParameter (param ,
621
- QPointF (float (tokens [0 ]), float (tokens [1 ]))))
621
+ QPointF (float (tokens [0 ]), float (tokens [1 ]))))
622
622
modelParameters .append (param .name )
623
623
elif line .startswith ('VALUE:' ):
624
624
valueLine = line [len ('VALUE:' ):]
0 commit comments