def process_file(self, filePath): self.update_result_text(" - Setup\n"); try: minE = float(self.minEastingEntry.get()); minN = float(self.minNorthingEntry.get()); blkS = int(self.blkSizeEntry.get()); outR = int(self.outResEntry.get()); zThr = float(self.htThresholdEntry.get()); zmax = float(self.bbbEntry.get()) result = Bio_module.setup(filePath, self.outDirEntry.get(), minE, minN, blkS, outR, zThr, zmax) except: self.handle_exception(sys.exc_info()) return if self.computeBiometrics.get() == 1 : self.update_result_text(" - Biometrics\n") try: Bio_module.bio() except: self.handle_exception(sys.exc_info()) return if self.computeLhq.get() == 1 : self.update_result_text(" - LHQ\n") try: Bio_module.lhq() except: self.handle_exception(sys.exc_info()) return if self.computeCcf.get() == 1 : self.update_result_text(" - CCF\n") try: Bio_module.ccf() except: self.handle_exception(sys.exc_info()) return self.update_result_text(" - Teardown\n") Bio_module.teardown() return result;