mirror of https://gitlab.com/pamhyr/pamhyr2
results from main solver type
parent
36fd8cdc8a
commit
e711f0fb6f
|
|
@ -1563,6 +1563,10 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
dir_path = dialog.selectedFiles()[0]
|
dir_path = dialog.selectedFiles()[0]
|
||||||
dir_list = os.listdir(dir_path)
|
dir_list = os.listdir(dir_path)
|
||||||
bin_list = list(filter(lambda s: "bin" in s, dir_list))
|
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}")
|
logger.info(f"Select results: {dir_path}")
|
||||||
if len(bin_list) >= 2 and ("total_sediment.bin" in bin_list):
|
if len(bin_list) >= 2 and ("total_sediment.bin" in bin_list):
|
||||||
self.open_solver_results_adists(
|
self.open_solver_results_adists(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue