Skip to content
Permalink
Browse files
[sextante]fixed preprocessing of parameters
  • Loading branch information
volaya committed Jul 23, 2013
1 parent c2c0389 commit 5c2e3f3e9222dc98adc14af58fc4069b144a5858
@@ -16,7 +16,6 @@
* *
***************************************************************************
"""
import importlib

__author__ = 'Victor Olaya'
__date__ = 'August 2012'
@@ -25,6 +24,7 @@
__revision__ = '$Format:%H$'

import os
import importlib
from qgis.core import *
from PyQt4.QtCore import *
from PyQt4.QtGui import *
@@ -336,7 +336,7 @@ def preProcessInputs(self):
def editCommands(self, commands):
name = self.commandLineName()[len('saga:'):]
try:
module = importlib.import_module('sextante.grass.ext.' + name)
module = importlib.import_module('sextante.saga.ext.' + name)
except ImportError:
return commands
if hasattr(module, 'editCommands'):
@@ -16,16 +16,17 @@
* *
***************************************************************************
"""
from sextante.tests.TestData import table

__author__ = 'Victor Olaya'
__date__ = 'July 2013'
__copyright__ = '(C) 2013, Victor Olaya'
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'

from sextante.tests.TestData import table

def editCommands(commands):
commands[-1] = commands[-1] + " -STATS" + table()
commands[-3] = commands[-3] + " -STATS " + table()
return commands


0 comments on commit 5c2e3f3

Please sign in to comment.