mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
results from main solver type
This commit is contained in:
1 parent
36fd8cdc8a
commit
e711f0fb6f
1 file changed
+4
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user