Commit e711f0fb authored by Youcef Aouad's avatar Youcef Aouad
Browse files

results from main solver type

No related merge requests found
Pipeline #59841 failed with stages
in 0 seconds
Showing with 4 additions and 0 deletions
+4 -0
......@@ -1563,6 +1563,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
dir_path = dialog.selectedFiles()[0]
dir_list = os.listdir(dir_path)
bin_list = list(filter(lambda s: "bin" in s, dir_list))
dir_sover_name = dir_path.split("/")[-2]
solver_results = next(filter(lambda x: x.name == dir_sover_name, self.conf.solvers))
print("dir solver name path:", dir_sover_name)
print("solver type:", solver_results._type)
logger.info(f"Select results: {dir_path}")
if len(bin_list) >= 2 and ("total_sediment.bin" in bin_list):
self.open_solver_results_adists(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment