File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,10 @@ def processAlgorithm(self, progress):
177
177
loglines = []
178
178
loglines .append ("R execution commands" )
179
179
loglines += self .getFullSetOfRCommands ()
180
+ for line in loglines :
181
+ progress .setCommand (line )
180
182
SextanteLog .addToLog (SextanteLog .LOG_INFO , loglines )
181
- RUtils .executeRAlgorithm (self )
183
+ RUtils .executeRAlgorithm (self , progress )
182
184
if self .showPlots :
183
185
htmlfilename = self .getOutputValue (RAlgorithm .RPLOTS )
184
186
f = open (htmlfilename , "w" )
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ def getConsoleOutputFilename():
47
47
48
48
49
49
@staticmethod
50
- def executeRAlgorithm (alg ):
50
+ def executeRAlgorithm (alg , progress ):
51
51
RUtils .verboseCommands = alg .getVerboseCommands ();
52
52
RUtils .createRScriptFromRCommands (alg .getFullSetOfRCommands ())
53
53
if SextanteUtils .isWindows ():
@@ -64,6 +64,8 @@ def executeRAlgorithm(alg):
64
64
loglines = []
65
65
loglines .append ("R execution console output" )
66
66
loglines += RUtils .allConsoleResults
67
+ for line in loglines :
68
+ progress .setConsoleInfo (line )
67
69
SextanteLog .addToLog (SextanteLog .LOG_INFO , loglines )
68
70
69
71
@staticmethod
You can’t perform that action at this time.
0 commit comments