mg-pso-gui 0.2.25__py3-none-any.whl → 0.2.26__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.25
3
+ Version: 0.2.26
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -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=CBUdasHxGXnI2fL-sE1IPNO4hVi8zR1rTs31z1VmvMQ,21381
5
- mgpsogui/gui/OptionManager.py,sha256=riRYTgylVa07yITD1xea5MjCcCt7Fpa8uhJH2SUTd4w,21676
4
+ mgpsogui/gui/HomePage.py,sha256=T-wyKAM7N2MX-fw13CDdbFzSdDOcrhbXAVTU1w2Yrh8,21428
5
+ mgpsogui/gui/OptionManager.py,sha256=KOGvicsDQK1v6lgpkw0IkH8zPzvWZ7fPe_jOriqLC88,21835
6
6
  mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
7
7
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  mgpsogui/gui/General/ParameterView.py,sha256=ylnzYk9qTN31w_6LW4Iq3536CjfWswEqbE95M_SF8P4,5657
@@ -69,8 +69,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
69
69
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
70
70
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
71
71
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
72
- mg_pso_gui-0.2.25.dist-info/METADATA,sha256=lZIUCKPYro9S_jDTHf1V1nI9AgdVbKVWeWR2Qhbl_C8,9455
73
- mg_pso_gui-0.2.25.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
74
- mg_pso_gui-0.2.25.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
75
- mg_pso_gui-0.2.25.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
76
- mg_pso_gui-0.2.25.dist-info/RECORD,,
72
+ mg_pso_gui-0.2.26.dist-info/METADATA,sha256=CJWr7P7idhUmdGc2i0pA4dHU9cvokNdoGpjhOdeFhMA,9455
73
+ mg_pso_gui-0.2.26.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
74
+ mg_pso_gui-0.2.26.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
75
+ mg_pso_gui-0.2.26.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
76
+ mg_pso_gui-0.2.26.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -57,6 +57,7 @@ results_queue = Queue()
57
57
  stdout_queue = Queue()
58
58
  stderr_queue = Queue()
59
59
 
60
+ %gui tk
60
61
  class App(customtkinter.CTk):
61
62
  def __init__(self):
62
63
  super().__init__()
@@ -214,7 +215,7 @@ class App(customtkinter.CTk):
214
215
  filename = asksaveasfilename(filetypes=[("JSON", "*.json")], initialfile="config", defaultextension="json", title="Save Project")
215
216
 
216
217
  try:
217
-
218
+ self.option_manager.set_path(filename)
218
219
  self.option_manager.save_project(filename)
219
220
 
220
221
  self.save_button.configure(text="Saved!")
@@ -47,6 +47,8 @@ class OptionManager():
47
47
  "figure_style": sv(),
48
48
  "matrix_values": []}
49
49
 
50
+ self._data[service]["sensitivity_analysis_path"].set("No file selected...")
51
+ self._data[service]["sampling_output_mode"].set("Replace")
50
52
  self._data[service]["selected_graph"].set("Best Cost Stacked")
51
53
  self._data[service]["graph_theme"].set("Dark")
52
54
  self._data[service]["selected_csv"].set("No files found...")