mg-pso-gui 0.1.92__tar.gz → 0.1.94__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/PKG-INFO +1 -1
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/HomePage.py +2 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/OptimalParameterView.py +11 -4
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/StepView.py +9 -8
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/setup.py +1 -1
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/OptionManager.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/VisualizeTab/SideBar.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/IGOW 4 Logo.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/collapse.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/down.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/expand.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/play.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/refresh.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/stop.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/test.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/trash.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/gui/images/up.png +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/mgpsogui.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/start.yaml +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/PSORunner.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/pso/csip_access.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg-pso-gui-0.1.92 → mg-pso-gui-0.1.94}/setup.cfg +0 -0
|
@@ -277,6 +277,8 @@ class App(customtkinter.CTk):
|
|
|
277
277
|
def refresh_step_view(self, value):
|
|
278
278
|
self.steps_frame.clear()
|
|
279
279
|
self.steps_frame.render()
|
|
280
|
+
self.optimal_param_frame.clear()
|
|
281
|
+
self.optimal_param_frame.render()
|
|
280
282
|
|
|
281
283
|
def open_new_window(self):
|
|
282
284
|
# Shell out and run ./main.py
|
|
@@ -27,6 +27,8 @@ class OptimalParameterView(CTkScrollableFrame):
|
|
|
27
27
|
self.containerFrame.grid(row=0, column=0, padx=(5, 5), pady=(5, 5), sticky="nsew")
|
|
28
28
|
self.containerFrame.grid_columnconfigure((0, 1), weight=1)
|
|
29
29
|
|
|
30
|
+
self.mode = self.option_manager.get_arguments()['mode'].get()
|
|
31
|
+
|
|
30
32
|
#CTkLabel(self.containerFrame, text="Name:").grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
|
|
31
33
|
#CTkLabel(self.containerFrame, text="Value:").grid(row=row, column=1, columnspan=1, padx=5, pady=5, sticky="")
|
|
32
34
|
#row += 1
|
|
@@ -34,9 +36,11 @@ class OptimalParameterView(CTkScrollableFrame):
|
|
|
34
36
|
self.steps = self.option_manager.get_steps()
|
|
35
37
|
|
|
36
38
|
for step in self.steps:
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
|
|
40
|
+
if self.mode != "Halton":
|
|
41
|
+
name = step['name'].get()
|
|
42
|
+
CTkLabel(self.containerFrame, text=name).grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
|
|
43
|
+
row += 1
|
|
40
44
|
|
|
41
45
|
for param in step['param']:
|
|
42
46
|
CTkEntry(self.containerFrame, textvariable=param['name']).grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="ew")
|
|
@@ -44,4 +48,7 @@ class OptimalParameterView(CTkScrollableFrame):
|
|
|
44
48
|
bb = CTkEntry(self.containerFrame)
|
|
45
49
|
bb.grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="ew")
|
|
46
50
|
bb.configure(textvariable=param['optimal_value'])
|
|
47
|
-
row += 1
|
|
51
|
+
row += 1
|
|
52
|
+
|
|
53
|
+
if self.mode == "Halton":
|
|
54
|
+
break
|
|
@@ -86,20 +86,21 @@ class StepView(CTkScrollableFrame):
|
|
|
86
86
|
|
|
87
87
|
#CTkLabel(self.containerFrame, text="Step:").grid(row=row, column=0, padx=10, pady=5, sticky="nsew")
|
|
88
88
|
|
|
89
|
-
button_container = CTkFrame(self.containerFrame, width=200)
|
|
90
|
-
button_container.grid(row=row, column=1, sticky="nse", padx=(10, 10), pady=(10, 10))
|
|
91
|
-
button_container.grid_rowconfigure(0, weight=1)
|
|
92
|
-
button_container.grid_columnconfigure(0, weight=1)
|
|
93
|
-
|
|
94
|
-
CTkEntry(self.containerFrame, textvariable=step['name'], width=500).grid(row=row, column=0, padx=(20, 20), pady=(20, 20), sticky="nsw")
|
|
95
|
-
#CTkLabel(self.containerFrame, textvariable=step['message']).grid(row=row, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
|
96
89
|
if (self.mode == "PSO"):
|
|
90
|
+
button_container = CTkFrame(self.containerFrame, width=200)
|
|
91
|
+
button_container.grid(row=row, column=1, sticky="nse", padx=(10, 10), pady=(10, 10))
|
|
92
|
+
button_container.grid_rowconfigure(0, weight=1)
|
|
93
|
+
button_container.grid_columnconfigure(0, weight=1)
|
|
94
|
+
|
|
95
|
+
CTkEntry(self.containerFrame, textvariable=step['name'], width=500).grid(row=row, column=0, padx=(20, 20), pady=(20, 20), sticky="nsw")
|
|
96
|
+
#CTkLabel(self.containerFrame, textvariable=step['message']).grid(row=row, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
|
97
|
+
|
|
97
98
|
CTkButton(button_container, width=30, text=None, image=expand_image if not step['open'] else collapse_image, command=expand_func).grid(row=0, column=0, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
98
99
|
CTkButton(button_container, width=30, text=None, image=up_image, state="disabled" if index==0 else "normal", fg_color="gray" if index==0 else None, command=up_func).grid(row=0, column=1, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
99
100
|
CTkButton(button_container, width=30, text=None, image=down_image, state="disabled" if index==(len(self.steps)-1) else "normal", fg_color="gray" if index==(len(self.steps)-1) else None, command=down_func).grid(row=0, column=2, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
100
101
|
CTkButton(button_container, width=30, text=None, image=trash_image, command=remove_func).grid(row=0, column=3, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
101
102
|
|
|
102
|
-
|
|
103
|
+
row += 1
|
|
103
104
|
|
|
104
105
|
if step['open'] or self.mode == "Halton":
|
|
105
106
|
bounds = BoundsList.BoundsList(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|