mg-pso-gui 0.1.181__py3-none-any.whl → 0.1.183__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.181.dist-info → mg_pso_gui-0.1.183.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.181.dist-info → mg_pso_gui-0.1.183.dist-info}/RECORD +7 -7
- mgpsogui/gui/HomePage.py +3 -3
- mgpsogui/gui/OptionManager.py +3 -3
- {mg_pso_gui-0.1.181.dist-info → mg_pso_gui-0.1.183.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.181.dist-info → mg_pso_gui-0.1.183.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.181.dist-info → mg_pso_gui-0.1.183.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=S4vm9gtwoWjfbNmFSX5e-_l18ti0YIFulrH9a3v953s,22845
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=x3Q4sQW6KuXkDuGGebEVhfHwtz6BiTYmrs7gTXPMe5A,13264
|
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.183.dist-info/METADATA,sha256=AJ_gtaGz36sOLeLjaur55kzHdCMNSk3DrlLIBUlZOCU,9456
|
63
|
+
mg_pso_gui-0.1.183.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
64
|
+
mg_pso_gui-0.1.183.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
65
|
+
mg_pso_gui-0.1.183.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
66
|
+
mg_pso_gui-0.1.183.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -131,7 +131,7 @@ class App(customtkinter.CTk):
|
|
131
131
|
# 4 is service URL
|
132
132
|
self.service_label = customtkinter.CTkLabel(self.sidebar_frame, text="Service:", anchor="w")
|
133
133
|
self.service_label.grid(row=0, column=3, padx=(80, 5), pady=header_padding_y)
|
134
|
-
self.service_url = customtkinter.CTkEntry(self.sidebar_frame, textvariable=self.option_manager.get_arguments()['
|
134
|
+
self.service_url = customtkinter.CTkEntry(self.sidebar_frame, textvariable=self.option_manager.get_arguments()['urls'][self.option_manager.service_modes[0]])
|
135
135
|
self.service_url.grid(row=0, column=4, columnspan=1, padx=header_padding_x, pady=header_padding_y, sticky="nsew")
|
136
136
|
refresh_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "refresh.png")), size=(20, 20))
|
137
137
|
self.refresh_button = customtkinter.CTkButton(self.sidebar_frame, text=None, width=30, image=refresh_image, command=self.load)
|
@@ -140,7 +140,7 @@ class App(customtkinter.CTk):
|
|
140
140
|
|
141
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
|
-
self.algorithm_optionmenu.set(
|
143
|
+
self.algorithm_optionmenu.set(self.option_manager.service_modes[0])
|
144
144
|
|
145
145
|
self.scaling_label = customtkinter.CTkLabel(self.sidebar_frame, text="Scale:", anchor="w")
|
146
146
|
self.scaling_label.grid(row=0, column=7, padx=header_padding_x, pady=header_padding_y)
|
@@ -235,7 +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'][
|
238
|
+
self.service_url.configure(textvariable=self.option_manager.get_arguments()['urls'][mode])
|
239
239
|
|
240
240
|
if mode == "Optimization: MG-PSO":
|
241
241
|
self.test_button.configure(state="normal")
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -37,12 +37,12 @@ class OptionManager():
|
|
37
37
|
self.service_parameters = {}
|
38
38
|
|
39
39
|
def add_arguments(self, arguments):
|
40
|
-
|
41
|
-
if ("url" in arguments):
|
42
|
-
self.arguments["url"].set(arguments["url"])
|
43
40
|
|
44
41
|
if ("mode" in arguments):
|
45
42
|
self.arguments["mode"].set(arguments["mode"])
|
43
|
+
|
44
|
+
if ("url" in arguments):
|
45
|
+
self.arguments["url"].set(arguments["url"])
|
46
46
|
|
47
47
|
if ("files" in arguments):
|
48
48
|
for file in arguments["files"]:
|
File without changes
|
File without changes
|
File without changes
|