mg-pso-gui 0.2.7__py3-none-any.whl → 0.2.9__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.2.7
3
+ Version: 0.2.9
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,11 +1,11 @@
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=hkrXtQ3rh1vWIxuzTXFgv8h49QCna3XsTZHc-c_csEg,21629
4
+ mgpsogui/gui/HomePage.py,sha256=B0uwmD49aiqRZ-hyzv5ZhceG3ymWzFS2CoGsiOuMeX0,21593
5
5
  mgpsogui/gui/OptionManager.py,sha256=wyLYHr0d2I_wUYugGxDrxbYVYD9aC-SE_7f22Cwdezw,20269
6
6
  mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
7
7
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- mgpsogui/gui/General/ParameterView.py,sha256=06vqbbQDmH_MTWlo8ksr4198bXRqRlk0xCRXkqgyGKc,5001
8
+ mgpsogui/gui/General/ParameterView.py,sha256=JVZ1uZ7AAFecqLbDwKS59bA0jQ59rghJjBNuN6kRd-8,5011
9
9
  mgpsogui/gui/General/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=XVaXjNoH1MBI-587CWigLIT3LGT00yzEAEnXNkzCLrk,10947
11
11
  mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -68,8 +68,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
68
68
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
69
69
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
70
70
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
71
- mg_pso_gui-0.2.7.dist-info/METADATA,sha256=aVmf8mplWsFTtxfh5cc96ouxQgBvujqEtPjANJ2P0WQ,9454
72
- mg_pso_gui-0.2.7.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
73
- mg_pso_gui-0.2.7.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
74
- mg_pso_gui-0.2.7.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
75
- mg_pso_gui-0.2.7.dist-info/RECORD,,
71
+ mg_pso_gui-0.2.9.dist-info/METADATA,sha256=oR2QMZycFPLiCsq9wvZqUDJWxFioUGNGgdtkvYRq4zM,9454
72
+ mg_pso_gui-0.2.9.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
73
+ mg_pso_gui-0.2.9.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
74
+ mg_pso_gui-0.2.9.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
75
+ mg_pso_gui-0.2.9.dist-info/RECORD,,
@@ -67,12 +67,12 @@ class ParameterView(CTkScrollableFrame):
67
67
  day_options = ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31"]
68
68
 
69
69
  update_date = lambda om_text_var=om_text_var, year=year, month=month, day=day: om_text_var.set(f"{year.get()}-{month.get()}-{day.get()}")
70
- year_menu = CTkOptionMenu(self.containerFrame, variable=year, values=year_options, command=update_date)
70
+ year_menu = CTkOptionMenu(self.containerFrame, variable=year, values=year_options, width=50, command=update_date)
71
71
  year_menu.grid(row=row, column=3, columnspan=1, padx=(0, 0), pady=(5, 5), sticky="ew")
72
- month_menu = CTkOptionMenu(self.containerFrame, variable=month, values=month_options, command=update_date)
73
- month_menu.grid(row=row, column=4, columnspan=1, padx=(0, 0), pady=(5, 5), width=30, sticky="ew")
74
- day_menu = CTkOptionMenu(self.containerFrame, variable=day, values=day_options, command=update_date)
75
- day_menu.grid(row=row, column=5, columnspan=1, padx=(0, 0), pady=(5, 5), width=30, sticky="ew")
72
+ month_menu = CTkOptionMenu(self.containerFrame, variable=month, values=month_options, width=20, command=update_date)
73
+ month_menu.grid(row=row, column=4, columnspan=1, padx=(0, 0), pady=(5, 5), sticky="ew")
74
+ day_menu = CTkOptionMenu(self.containerFrame, variable=day, values=day_options, width=20, command=update_date)
75
+ day_menu.grid(row=row, column=5, columnspan=1, padx=(0, 0), pady=(5, 5), sticky="ew")
76
76
  else:
77
77
  bb = CTkEntry(self.containerFrame)
78
78
  bb.grid(row=row, column=3, columnspan=3, padx=(5, 5), pady=(5, 5), sticky="ew")
mgpsogui/gui/HomePage.py CHANGED
@@ -250,6 +250,16 @@ class App(customtkinter.CTk):
250
250
 
251
251
  self.steps_frame.clear()
252
252
  self.steps_frame.render()
253
+
254
+ self.static_param_frame.clear()
255
+ self.static_param_frame.render()
256
+
257
+ self.calib_param_frame.clear()
258
+ self.calib_param_frame.render()
259
+
260
+ self.service_param_frame.clear()
261
+ self.service_param_frame.render()
262
+
253
263
  #self.optimal_param_frame.clear()
254
264
  #self.optimal_param_frame.render()
255
265
 
@@ -266,17 +276,7 @@ class App(customtkinter.CTk):
266
276
 
267
277
  self.option_manager.load_project(filename)
268
278
 
269
- self.steps_frame.clear()
270
- self.steps_frame.render()
271
-
272
- self.static_param_frame.clear()
273
- self.static_param_frame.render()
274
-
275
- self.calib_param_frame.clear()
276
- self.calib_param_frame.render()
277
-
278
- #self.optimal_param_frame.clear()
279
- #self.optimal_param_frame.render()
279
+ self.refresh_step_view(0)
280
280
 
281
281
  self.load_button.configure(text="Loaded!")
282
282
  self.after(3000, lambda: self.load_button.configure(text="Load"))