Skip to content
Browse files
[processing] fixed handling output html files in grass 7
  • Loading branch information
volaya committed Oct 14, 2015
1 parent 68ebd4b commit 2f9db5adefdcbdb9e8fc0e855a9150311811f780
@@ -105,6 +105,4 @@ In some cases, it might be interesting to take the console output from GRASS and
extract a part of it for saving or formatting.

To do this, just add an output of type OutputHTML. Processing will take care of
turning that into 2 output, one of type OutputHTML and another one of type OutputFile.
The second one will contain the raw output of the algorithm, while the first one
will have some HTML formatting
sending the console output to that output file
@@ -139,6 +139,9 @@ def defineCharacteristicsFromFile(self):
hasRasterOutput = True
elif isinstance(output, OutputVector):
vectorOutputs += 1
if isinstance(output, OutputHTML):
self.addOutput(OutputFile("rawoutput", output.description +
" (raw output)", "txt"))
line = lines.readline().strip('\n').strip()
except Exception as e:

0 comments on commit 2f9db5a

Please sign in to comment.