mg-pso-gui 0.1.180__py3-none-any.whl → 0.1.181__py3-none-any.whl
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.180.dist-info → mg_pso_gui-0.1.181.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.180.dist-info → mg_pso_gui-0.1.181.dist-info}/RECORD +7 -7
- mgpsogui/gui/HomePage.py +2 -1
- mgpsogui/gui/OptionManager.py +8 -0
- {mg_pso_gui-0.1.180.dist-info → mg_pso_gui-0.1.181.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.180.dist-info → mg_pso_gui-0.1.181.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.180.dist-info → mg_pso_gui-0.1.181.dist-info}/top_level.txt +0 -0
@@ -1,8 +1,8 @@
|
|
1
1
|
mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
|
2
2
|
mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
|
3
3
|
mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
|
4
|
-
mgpsogui/gui/HomePage.py,sha256=
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=FQHErph6H4I8TWy2GmhANvgQiVdA7pNFe6Lv4rdUYX4,22794
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=X-A_YCiBilcBuAmy3XbAVMAxuUIaFcsyh2fXaU5kiOM,13272
|
6
6
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=q8x_tvVgSoyGINuQbivXRThF3gaSSfg8X_dsLSPv4F0,10492
|
8
8
|
mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -59,8 +59,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
59
59
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
60
60
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
61
61
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
62
|
-
mg_pso_gui-0.1.
|
63
|
-
mg_pso_gui-0.1.
|
64
|
-
mg_pso_gui-0.1.
|
65
|
-
mg_pso_gui-0.1.
|
66
|
-
mg_pso_gui-0.1.
|
62
|
+
mg_pso_gui-0.1.181.dist-info/METADATA,sha256=-tqzdmMgWYlJOvsm9zUsF8mqBs4DPXeOTdZNd9UGN3Q,9456
|
63
|
+
mg_pso_gui-0.1.181.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
64
|
+
mg_pso_gui-0.1.181.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
65
|
+
mg_pso_gui-0.1.181.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
66
|
+
mg_pso_gui-0.1.181.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -138,7 +138,7 @@ class App(customtkinter.CTk):
|
|
138
138
|
ctt(self.refresh_button, delay=0.1, alpha=0.95, message="Connect to Service")
|
139
139
|
self.refresh_button.grid(row=0, column=5, padx=header_padding_x, pady=header_padding_y)
|
140
140
|
|
141
|
-
self.algorithm_optionmenu = customtkinter.CTkOptionMenu(self.sidebar_frame, variable=self.option_manager.get_arguments()['mode'], values=
|
141
|
+
self.algorithm_optionmenu = customtkinter.CTkOptionMenu(self.sidebar_frame, variable=self.option_manager.get_arguments()['mode'], values=self.option_manager.service_modes, width=50, command=self.refresh_step_view)
|
142
142
|
self.algorithm_optionmenu.grid(row=0, column=6, padx=(5, 80), pady=header_padding_y)
|
143
143
|
self.algorithm_optionmenu.set("Optimization: MG-PSO")
|
144
144
|
|
@@ -235,6 +235,7 @@ class App(customtkinter.CTk):
|
|
235
235
|
|
236
236
|
def refresh_step_view(self, value):
|
237
237
|
mode = self.option_manager.get_arguments()['mode'].get()
|
238
|
+
self.service_url.configure(textvariable=self.option_manager.get_arguments()['urls']['mode'])
|
238
239
|
|
239
240
|
if mode == "Optimization: MG-PSO":
|
240
241
|
self.test_button.configure(state="normal")
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -11,16 +11,24 @@ class OptionManager():
|
|
11
11
|
self.project_data = {"name": "", "path": ""}
|
12
12
|
self.arguments = {"param": [],
|
13
13
|
"url": sv(),
|
14
|
+
"urls": {},
|
14
15
|
"mode": sv(),
|
15
16
|
"files": {},
|
16
17
|
"calibration_parameters": [],
|
17
18
|
"figure_parameters": []}
|
18
19
|
self.steps = []
|
19
20
|
self.service_parameters = {}
|
21
|
+
|
22
|
+
self.service_modes = ["Optimization: MG-PSO", "Sampling: Halton", "Sampling: Random", "Sensitivity Analysis"]
|
23
|
+
for mode in self.service_modes:
|
24
|
+
self.arguments["urls"][mode] = sv()
|
25
|
+
|
20
26
|
|
21
27
|
def clear(self):
|
22
28
|
self.arguments['param'].clear()
|
23
29
|
self.arguments['url'].set("")
|
30
|
+
for mode in self.service_modes:
|
31
|
+
self.arguments["urls"][mode].set("")
|
24
32
|
self.arguments['mode'].set("Optimization: MG-PSO")
|
25
33
|
self.arguments['files'] = {}
|
26
34
|
self.arguments['calibration_parameters'].clear()
|
File without changes
|
File without changes
|
File without changes
|