Skip to content

Commit f4657b7

Browse files
committed
minor update in sextante taudem provider
1 parent a75563f commit f4657b7

File tree

11 files changed

+22
-22
lines changed

11 files changed

+22
-22
lines changed

python/plugins/sextante/taudem/TauDEMAlgorithm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,5 @@ def processAlgorithm(self, progress):
127127
SextanteLog.addToLog(SextanteLog.LOG_INFO, loglines)
128128
TauDEMUtils.executeTauDEM(commands, progress)
129129

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

python/plugins/sextante/taudem/TauDEMUtils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def taudemPath():
4545
folder = ""
4646

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

6363
if SextanteUtils.isMac():
64-
testfolder = os.path.join(str(QgsApplication.prefixPath()), "bin")
64+
testfolder = os.path.join(QgsApplication.prefixPath(), "bin")
6565
if os.path.exists(os.path.join(testfolder, "mpiexec")):
6666
folder = testfolder
6767
else:

python/plugins/sextante/taudem/dinfdistdown.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,5 +119,5 @@ def processAlgorithm(self, progress):
119119

120120
TauDEMUtils.executeTauDEM(commands, progress)
121121

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

python/plugins/sextante/taudem/dinfdistup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ def processAlgorithm(self, progress):
116116

117117
TauDEMUtils.executeTauDEM(commands, progress)
118118

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

python/plugins/sextante/taudem/dinftranslimaccum.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ def processAlgorithm(self, progress):
108108

109109
TauDEMUtils.executeTauDEM(commands, progress)
110110

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

python/plugins/sextante/taudem/dinftranslimaccum2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,5 @@ def processAlgorithm(self, progress):
114114

115115
TauDEMUtils.executeTauDEM(commands, progress)
116116

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

python/plugins/sextante/taudem/dropanalysis.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,5 @@ def processAlgorithm(self, progress):
113113

114114
TauDEMUtils.executeTauDEM(commands, progress)
115115

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

python/plugins/sextante/taudem/gridnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,5 @@ def processAlgorithm(self, progress):
108108

109109
TauDEMUtils.executeTauDEM(commands, progress)
110110

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

python/plugins/sextante/taudem/lengtharea.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,5 +93,5 @@ def processAlgorithm(self, progress):
9393

9494
TauDEMUtils.executeTauDEM(commands, progress)
9595

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

python/plugins/sextante/taudem/peukerdouglas.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ def processAlgorithm(self, progress):
9292

9393
TauDEMUtils.executeTauDEM(commands, progress)
9494

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

0 commit comments

Comments
 (0)