Skip to content
Permalink
Browse files

[sextante] attempt to fix issue with non-ASCII characters in modeler

  • Loading branch information
alexbruy committed Apr 11, 2013
1 parent a880236 commit 6ebedbc59d9f97eb50a36550e7cfd1e7348f373c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/sextante/modeler/ModelerAlgorithm.py
@@ -519,14 +519,14 @@ def processAlgorithm(self, progress):
+ str(len(self.algs) - len(self.deactivated)) +"]")
outputs = {}
progress.setDebugInfo("Parameters: " +
', '.join([str(p).strip() + "=" + str(p.value) for p in alg.parameters]))
', '.join([unicode(p).strip() + "=" + unicode(p.value) for p in alg.parameters]))
t0 = time.time()
alg.execute(progress)
dt = time.time() - t0
for out in alg.outputs:
outputs[out.name] = out.value
progress.setDebugInfo("Outputs: " +
', '.join([str(out).strip() + "=" + str(outputs[out.name]) for out in alg.outputs]))
', '.join([unicode(out).strip() + "=" + unicode(outputs[out.name]) for out in alg.outputs]))
self.producedOutputs[iAlg] = outputs
executed.append(iAlg)
progress.setDebugInfo("OK. Execution took %0.3f ms (%i outputs)." % (dt, len(outputs)))

0 comments on commit 6ebedbc

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