mirror of https://gitlab.com/pamhyr/pamhyr2
Pamhyr2: Fix pep8.
parent
5ca763ac8c
commit
de180b3635
|
|
@ -541,7 +541,7 @@ class Study(SQLModel):
|
||||||
empty shell, it's not fully functional. Study object use
|
empty shell, it's not fully functional. Study object use
|
||||||
SQLite connection to file, this copy as no valid connection.
|
SQLite connection to file, this copy as no valid connection.
|
||||||
|
|
||||||
/!\ Please use this copy as read only object!
|
(!) Please use this copy as read only object!
|
||||||
"""
|
"""
|
||||||
new = Study(copy=True)
|
new = Study(copy=True)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -302,7 +302,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
"action_menu_results_last": self.open_last_results,
|
"action_menu_results_last": self.open_last_results,
|
||||||
"action_menu_open_results_from_file": self.open_results_from_file,
|
"action_menu_open_results_from_file": self.open_results_from_file,
|
||||||
# "action_menu_compare_results": self.compare_results,
|
# "action_menu_compare_results": self.compare_results,
|
||||||
"action_menu_compare_scenarios_results": self.compare_results_scenarios,
|
"action_menu_compare_scenarios_results":
|
||||||
|
self.compare_results_scenarios,
|
||||||
"action_menu_open_results_adists": self.open_results_adists,
|
"action_menu_open_results_adists": self.open_results_adists,
|
||||||
# Help
|
# Help
|
||||||
"action_menu_pamhyr_users_wiki": self.open_doc_user,
|
"action_menu_pamhyr_users_wiki": self.open_doc_user,
|
||||||
|
|
@ -1853,8 +1854,9 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
|
||||||
result3 = Results(study=self._study, solver=solver3)
|
result3 = Results(study=self._study, solver=solver3)
|
||||||
ts = sorted(
|
ts = sorted(
|
||||||
list(
|
list(
|
||||||
result1.get("timestamps")\
|
result1.get("timestamps").intersection(
|
||||||
.intersection(result2.get("timestamps"))
|
result2.get("timestamps")
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@ _translate = QCoreApplication.translate
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class CompareSolversWindow(PamhyrDialog):
|
class CompareSolversWindow(PamhyrDialog):
|
||||||
_pamhyr_ui = "CompareSolvers"
|
_pamhyr_ui = "CompareSolvers"
|
||||||
_pamhyr_name = "Compare solvers"
|
_pamhyr_name = "Compare solvers"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue