Skip to content
Permalink
Browse files

OTB and GRASS commandline to log.

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@335 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
cpolymeris@gmail.com
cpolymeris@gmail.com committed Aug 6, 2012
1 parent 6bf0bfe commit cb99d37fdcbee076440f78592e8f662388109127
Showing with 3 additions and 1 deletion.
  1. +2 −1 src/sextante/grass/GrassAlgorithm.py
  2. +1 −0 src/sextante/otb/OTBAlgorithm.py
@@ -274,6 +274,7 @@ def processAlgorithm(self, progress):
loglines = []
loglines.append("GRASS execution commands")
for line in commands:
progress.setInfo(line)
loglines.append(line)
if SextanteConfig.getSetting(GrassUtils.GRASS_LOG_COMMANDS):
SextanteLog.addToLog(SextanteLog.LOG_INFO, loglines)
@@ -340,4 +341,4 @@ def commandLineName(self):
# return "This algorithm cannot be run with the 'auto-region' setting\nPlease set a GRASS region before running it"
# else:
# return None
#===============================================================================
#===============================================================================
@@ -142,6 +142,7 @@ def processAlgorithm(self, progress):
"-sizex", str(sizeX),
"-sizey", str(sizeY)]
SextanteLog.addToLog(SextanteLog.LOG_INFO, helperCommands)
progress.setInfo(helperCommands)
OTBUtils.executeOtb(helperCommands, progress)

if self.roiRasters:

0 comments on commit cb99d37

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