mg-pso-gui 0.0.152__py3-none-any.whl → 0.0.154__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.152
3
+ Version: 0.0.154
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,12 +1,12 @@
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=Pk2sOzqUpUo0Ue5yuJPv2fRbIa-Ja1jGUouwu4AgT30,12969
4
+ mgpsogui/gui/HomePage.py,sha256=tiB0_gzs0hKLS1PL2_H_r3VCD2r0cvvbK1EUSC5x4nQ,13005
5
5
  mgpsogui/gui/OptionManager.py,sha256=bFN2jWJbx1Din3waOFLmbWGt0BXD_KthGJ8Mgue_FEE,11712
6
6
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=N2HSRqT45NH4PPeOwXdLhOASMDjh-1OwUa2WmV47T5M,10465
8
8
  mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- mgpsogui/gui/RunTab/RunTab.py,sha256=wV5PW5815tAHHik941tXvBUP3H9dXcSLAxnBSSy7d_k,12080
9
+ mgpsogui/gui/RunTab/RunTab.py,sha256=WD9QR00KR1qUxrScmMrbfMo_liqq8zr8hyEsQipB9jA,12534
10
10
  mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=tDCap4qFQw3MRQo0d81W3vqmQlWQGNZYPh0TyhCwOvs,2848
12
12
  mgpsogui/gui/SetupTab/BoundsList.py,sha256=rWgEHomH5K5UqmG_j04yH7z6NjE-VDA6DBTaV_uYGzk,12288
@@ -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.152.dist-info/METADATA,sha256=tYcr_SX-_wQdc78Y7iWqG5I3iQuFckA0YXk0cc3emuE,9459
36
- mg_pso_gui-0.0.152.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
37
- mg_pso_gui-0.0.152.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
38
- mg_pso_gui-0.0.152.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
39
- mg_pso_gui-0.0.152.dist-info/RECORD,,
35
+ mg_pso_gui-0.0.154.dist-info/METADATA,sha256=w5BqqnnpDqNDnKmGtEl2j9UorAYVPiQrssMt8p-RX44,9459
36
+ mg_pso_gui-0.0.154.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
37
+ mg_pso_gui-0.0.154.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
38
+ mg_pso_gui-0.0.154.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
39
+ mg_pso_gui-0.0.154.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -129,11 +129,11 @@ class App(customtkinter.CTk):
129
129
  self.footer_frame.grid(row=2, column=0, sticky="nsew")
130
130
  self.footer_frame.grid_columnconfigure(4, weight=1)
131
131
 
132
- self.progress_label = customtkinter.CTkLabel(self.footer_frame, text="Stopped", font=customtkinter.CTkFont(size=16, weight="bold"))
133
- self.progress_label.grid(row=0, column=0, padx=(20, 5), pady=header_padding_y)
132
+ self.footer_progress_label = customtkinter.CTkLabel(self.footer_frame, text="Stopped", width=150, font=customtkinter.CTkFont(size=16, weight="bold"), anchor="e")
133
+ self.footer_progress_label.grid(row=0, column=0, padx=(20, 5), pady=header_padding_y)
134
134
 
135
135
  self.footer_progress_bar = customtkinter.CTkProgressBar(self.footer_frame)
136
- self.footer_progress_bar.grid(row=0, column=4, padx=(100, 100), pady=header_padding_y, sticky="ew")
136
+ self.footer_progress_bar.grid(row=0, column=4, padx=(50, 100), pady=header_padding_y, sticky="ew")
137
137
  self.footer_progress_bar.set(0)
138
138
 
139
139
  play_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "play.png")), size=(20, 20))
@@ -28,6 +28,7 @@ def create_tab(self, tab):
28
28
  self.data_y = [0]
29
29
 
30
30
  self.progress_message_middle.configure(text="Calibration starting...")
31
+ self.footer_progress_label.configure(text="Starting...")
31
32
 
32
33
  self.textbox.insert("0.0", "Starting calibration...\n\n")
33
34
  self.textbox.insert("0.0", "Calibration Parameters:\n")
@@ -53,6 +54,7 @@ def create_tab(self, tab):
53
54
  self.progress_message_left.configure(text="")
54
55
  self.progress_message_middle.configure(text="Calibration failed! See error log below.")
55
56
  self.progress_message_right.configure(text="")
57
+ self.footer_progress_label.configure(text="Failed")
56
58
  self.progress_bar.stop()
57
59
  self.footer_progress_bar.stop()
58
60
  self.progress_bar.configure(mode="determinate")
@@ -86,6 +88,7 @@ def create_tab(self, tab):
86
88
  self.footer_progress_bar.set(0)
87
89
  self.progress_message_left.configure(text="")
88
90
  self.progress_message_middle.configure(text="Calibration stopped!")
91
+ self.footer_progress_label.configure(text="Stopped")
89
92
  self.progress_message_right.configure(text="")
90
93
 
91
94
  def watch_loop():
@@ -180,6 +183,7 @@ def create_tab(self, tab):
180
183
  self.footer_progress_bar.set(percent/100)
181
184
  self.progress_message_left.configure(text="Percent Complete: " + str(percent) + "%")
182
185
  self.progress_message_middle.configure(text=str(completed_rounds) + "/" + str(total_rounds))
186
+ self.footer_progress_label.configure(text=str(completed_rounds) + "/" + str(total_rounds))
183
187
  self.progress_message_right.configure(text="Best Cost: " + str(best_cost))
184
188
  else:
185
189
  self.progress_bar.configure(mode="indeterminate")
@@ -188,6 +192,7 @@ def create_tab(self, tab):
188
192
  self.footer_progress_bar.start()
189
193
  self.progress_message_left.configure(text="")
190
194
  self.progress_message_middle.configure(text="Starting new round...")
195
+ self.footer_progress_label.configure(text="Continuing...")
191
196
  self.progress_message_right.configure(text="")
192
197
 
193
198
 
@@ -204,6 +209,7 @@ def create_tab(self, tab):
204
209
  self.progress_message_left.configure(text="")
205
210
  self.progress_message_middle.configure(text="Calibration finished!")
206
211
  self.progress_message_right.configure(text="")
212
+ self.footer_progress_label.configure(text="Finished")
207
213
  self.textbox.insert("0.0", "\nCalibration finished!\n")
208
214
 
209
215
  # URL