Skip to content

Commit

Permalink
minor update in sextante taudem provider
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jun 3, 2013
1 parent a75563f commit f4657b7
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/TauDEMAlgorithm.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/TauDEMUtils.py
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/dinfdistdown.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/dinfdistup.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/dinftranslimaccum.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/dinftranslimaccum2.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/dropanalysis.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/gridnet.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/lengtharea.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/peukerdouglas.py
Expand Up @@ -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")
4 changes: 2 additions & 2 deletions python/plugins/sextante/taudem/slopearea.py
Expand Up @@ -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.