def createAlgsList(self):
     self.preloadedAlgs = []
     folder = TauDEMUtils.taudemDescriptionPath()
     for descriptionFile in os.listdir(folder):
         if descriptionFile.endswith("txt"):
             try:
                 alg = TauDEMAlgorithm(os.path.join(folder, descriptionFile))
                 if alg.name.strip() != "":
                     self.preloadedAlgs.append(alg)
                 else:
                     SextanteLog.addToLog(SextanteLog.LOG_ERROR, "Could not open TauDEM algorithm: " + descriptionFile)
             except Exception, e:
                 SextanteLog.addToLog(SextanteLog.LOG_ERROR, "Could not open TauDEM algorithm: " + descriptionFile)
 def createAlgsList(self):
     self.preloadedAlgs = []
     folder = TauDEMUtils.taudemDescriptionPath()
     for descriptionFile in os.listdir(folder):
         if descriptionFile.endswith("txt"):
             try:
                 alg = TauDEMAlgorithm(os.path.join(folder,
                                                    descriptionFile))
                 if alg.name.strip() != "":
                     self.preloadedAlgs.append(alg)
                 else:
                     SextanteLog.addToLog(
                         SextanteLog.LOG_ERROR,
                         "Could not open TauDEM algorithm: " +
                         descriptionFile)
             except Exception, e:
                 SextanteLog.addToLog(
                     SextanteLog.LOG_ERROR,
                     "Could not open TauDEM algorithm: " + descriptionFile)