Skip to content
Permalink
Browse files

minor update in sextante taudem provider

  • Loading branch information
alexbruy committed Jun 3, 2013
1 parent a75563f commit f4657b7aae4c52bd0955ce148926784956381bd5
@@ -127,5 +127,5 @@ def processAlgorithm(self, progress):
SextanteLog.addToLog(SextanteLog.LOG_INFO, loglines)
TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -45,7 +45,7 @@ def taudemPath():
folder = ""

if SextanteUtils.isMac():
testfolder = os.path.join(str(QgsApplication.prefixPath()), "bin")
testfolder = os.path.join(QgsApplication.prefixPath(), "bin")
if os.path.exists(os.path.join(testfolder, "slopearea")):
folder = testfolder
else:
@@ -61,7 +61,7 @@ def mpiexecPath():
folder = ""

if SextanteUtils.isMac():
testfolder = os.path.join(str(QgsApplication.prefixPath()), "bin")
testfolder = os.path.join(QgsApplication.prefixPath(), "bin")
if os.path.exists(os.path.join(testfolder, "mpiexec")):
folder = testfolder
else:
@@ -119,5 +119,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -116,5 +116,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -108,5 +108,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -114,5 +114,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -113,5 +113,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -108,5 +108,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -93,5 +93,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -92,5 +92,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
@@ -93,5 +93,5 @@ def processAlgorithm(self, progress):

TauDEMUtils.executeTauDEM(commands, progress)

def helpFile(self):
return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")
#def helpFile(self):
# return os.path.join(os.path.dirname(__file__), "help", self.cmdName + ".html")

0 comments on commit f4657b7

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