mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
select adists fixed
This commit is contained in:
1 parent
7f2ff9d341
commit
3c82148f44
2 files changed
+149
-3
No files matched your search
+12
-3
@@ -71,6 +71,7 @@ from View.AdditionalFiles.Window import AddFileListWindow
|
||||
from View.REPLines.Window import REPLineListWindow
|
||||
from View.SolverParameters.Window import SolverParametersWindow
|
||||
from View.RunSolver.Window import SelectSolverWindow, SolverLogWindow
|
||||
from View.RunSolver.WindowAdisTS import SelectSolverWindowAdisTS
|
||||
from View.CheckList.Window import CheckListWindow
|
||||
from View.Results.Window import ResultsWindow
|
||||
from View.Results.ReadingResultsDialog import ReadingResultsDialog
|
||||
@@ -1261,10 +1262,18 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||
if self._study is None:
|
||||
return
|
||||
|
||||
solver = next(filter(lambda x: x._type == "adistslc", self.conf.solvers))
|
||||
#solver = next(filter(lambda x: x._type == "adistslc", self.conf.solvers))
|
||||
#solver = next(filter(lambda x: x.name == "AdisTS-LC", self.conf.solvers))
|
||||
print(solver._type)
|
||||
self.run_solver(solver)
|
||||
#print(solver._type)
|
||||
#self.run_solver(solver)
|
||||
|
||||
run = SelectSolverWindowAdisTS(
|
||||
study=self._study,
|
||||
config=self.conf,
|
||||
parent=self
|
||||
)
|
||||
if run.exec():
|
||||
self.run_solver(run.solver)
|
||||
|
||||
def run_solver(self, solver):
|
||||
if self._study is None:
|
||||
|
||||
Reference in new issue
Block a user