mg-pso-gui 0.0.160__py3-none-any.whl → 0.0.162__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.160
3
+ Version: 0.0.162
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,10 +1,10 @@
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=TJDx8k6nnn4QUZocXQ8unaM98hefKu1zpL_Hzo6OtR4,14448
4
+ mgpsogui/gui/HomePage.py,sha256=wcQfFmZxohocG2YnOYwEMIp5lr1GaTuTV4dxX3dF8Bs,14555
5
5
  mgpsogui/gui/OptionManager.py,sha256=bFN2jWJbx1Din3waOFLmbWGt0BXD_KthGJ8Mgue_FEE,11712
6
6
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=N2HSRqT45NH4PPeOwXdLhOASMDjh-1OwUa2WmV47T5M,10465
7
+ mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=KyIoHlMKD9nfQqHeGJwRDA4RCoe4UykjB2l6xMTKK_M,10486
8
8
  mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  mgpsogui/gui/RunTab/RunTab.py,sha256=WD9QR00KR1qUxrScmMrbfMo_liqq8zr8hyEsQipB9jA,12534
10
10
  mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -32,8 +32,8 @@ mgpsogui/util/PSORunner.py,sha256=7iUYRUXgpZ0l0rqoyHQYY1Yg9q0gl9TE0jNaHZMv04c,29
32
32
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
33
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
34
34
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
35
- mg_pso_gui-0.0.160.dist-info/METADATA,sha256=EcXaZOliqrZMwA39hkVM1qFqqLhNEjr5qYYHyZFZlIY,9459
36
- mg_pso_gui-0.0.160.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
37
- mg_pso_gui-0.0.160.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
38
- mg_pso_gui-0.0.160.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
39
- mg_pso_gui-0.0.160.dist-info/RECORD,,
35
+ mg_pso_gui-0.0.162.dist-info/METADATA,sha256=kat0ZU5-hJCngnZU_X078n7wEpnpAgCUhHUVbjPcSSg,9459
36
+ mg_pso_gui-0.0.162.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
37
+ mg_pso_gui-0.0.162.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
38
+ mg_pso_gui-0.0.162.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
39
+ mg_pso_gui-0.0.162.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -311,10 +311,13 @@ class App(customtkinter.CTk):
311
311
 
312
312
  def load(self):
313
313
  # Make HTTP request to service_url and save the result to bounds.json
314
+
315
+ self.default_button_color = self.refresh_button.cget("fg_color")
316
+
314
317
  self.refresh_button.configure(fg_color="gray")
315
318
 
316
319
  self.after(10, self.make_request)
317
- self.after(3000, lambda: self.refresh_button.configure(fg_color="default"))
320
+ self.after(3000, lambda: self.refresh_button.configure(fg_color=self.default_button_color))
318
321
 
319
322
  def start():
320
323
  app = App()
@@ -114,8 +114,9 @@ def create_tab(self, tab):
114
114
 
115
115
  tab.grid_columnconfigure(0, weight=1)
116
116
  tab.grid_columnconfigure(1, weight=1)
117
- tab.grid_rowconfigure(1, weight=1)
117
+ tab.grid_rowconfigure(0, weight=1)
118
118
 
119
+ """
119
120
  self.top_bar_container = customtkinter.CTkFrame(tab)
120
121
  self.top_bar_container.grid(row=0, column=0, columnspan=2, padx=(20, 20), pady=(20, 20), sticky="nsew")
121
122
  self.top_bar_container.grid_columnconfigure(1, weight=1)
@@ -128,9 +129,11 @@ def create_tab(self, tab):
128
129
 
129
130
  self.load_parameters = customtkinter.CTkButton(self.top_bar_container, text="Connect", command=load)
130
131
  self.load_parameters.grid(row=0, column=2, padx=(20, 20), pady=(20, 20), sticky="nsew")
132
+
133
+ """
131
134
 
132
135
  self.service_editor = customtkinter.CTkScrollableFrame(tab, label_text="Service Editor")
133
- self.service_editor.grid(row=1, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
136
+ self.service_editor.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
134
137
  self.service_editor.grid_columnconfigure(0, weight=1)
135
138
  self.service_editor.grid_rowconfigure(0, weight=1)
136
139
 
@@ -159,7 +162,7 @@ def create_tab(self, tab):
159
162
  self.service_details.grid(row=8, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
160
163
 
161
164
  self.environment_editor = customtkinter.CTkScrollableFrame(tab, label_text="Environment Editor")
162
- self.environment_editor.grid(row=1, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
165
+ self.environment_editor.grid(row=0, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
163
166
  self.environment_editor.grid_columnconfigure(0, weight=1)
164
167
  self.environment_editor.grid_rowconfigure(0, weight=1)
165
168