mg-pso-gui 0.2.72__py3-none-any.whl → 0.2.74__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.2.72.dist-info → mg_pso_gui-0.2.74.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.72.dist-info → mg_pso_gui-0.2.74.dist-info}/RECORD +7 -7
- mgpsogui/gui/HomePage.py +10 -0
- mgpsogui/gui/VisualizeTab/VisualizeTab.py +2 -2
- {mg_pso_gui-0.2.72.dist-info → mg_pso_gui-0.2.74.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.72.dist-info → mg_pso_gui-0.2.74.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.72.dist-info → mg_pso_gui-0.2.74.dist-info}/top_level.txt +0 -0
@@ -1,7 +1,7 @@
|
|
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=
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=a6L3NxO_LrBWINV2PeV6LsMWyVVtIfcDCEoUBozDWoQ,22425
|
5
5
|
mgpsogui/gui/OptionManager.py,sha256=_TT-RSUYdRTzoBr8STx_XDdPt--31byQsL8zmxM7quA,22003
|
6
6
|
mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
|
7
7
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -26,7 +26,7 @@ mgpsogui/gui/SetupTab/StepView.py,sha256=M_7gj3TqszMs0pVBnGmZZDr96NWZg5mfKyX1Ne1
|
|
26
26
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
27
|
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256=Gzyl2hRgjIfO5n0bCZZoXp_vOFvfsJPaGXDUMeRQg10,3171
|
28
28
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=wPjzA8ZZsCTxBKN0_6-_ABtU5BeHqytNAWfKCWAPoe8,22106
|
29
|
-
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=
|
29
|
+
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=Ro-K-P7aIcDM5GF-4QkUSo-HeLZANapybU07BRicwVw,6589
|
30
30
|
mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
31
31
|
mgpsogui/gui/defaults/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
32
|
mgpsogui/gui/defaults/optimization.json,sha256=bd_XxTKtKN_ErZoxtZmhltWID-sDJAdxzsqt9qBSsh8,3629
|
@@ -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.
|
73
|
-
mg_pso_gui-0.2.
|
74
|
-
mg_pso_gui-0.2.
|
75
|
-
mg_pso_gui-0.2.
|
76
|
-
mg_pso_gui-0.2.
|
72
|
+
mg_pso_gui-0.2.74.dist-info/METADATA,sha256=5E9Qs5DoMhc0_W1dlF7_B43r4FK-mgab2wdRC167eUs,9455
|
73
|
+
mg_pso_gui-0.2.74.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
74
|
+
mg_pso_gui-0.2.74.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
75
|
+
mg_pso_gui-0.2.74.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
76
|
+
mg_pso_gui-0.2.74.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -205,6 +205,7 @@ class App(customtkinter.CTk):
|
|
205
205
|
ctt(self.download_button, delay=0.1, alpha=0.95, message="Download Results")
|
206
206
|
self.download_button.grid(row=0, column=10, padx=(5, 20), pady=header_padding_y)
|
207
207
|
|
208
|
+
self.refresh_step_view(0)
|
208
209
|
self.after(1000, self.running_loop)
|
209
210
|
|
210
211
|
def update_graph(self, value):
|
@@ -237,6 +238,15 @@ class App(customtkinter.CTk):
|
|
237
238
|
self.service_url.configure(textvariable=self.option_manager.get("url"))
|
238
239
|
self.graph_theme.configure(variable=self.option_manager.get("graph_theme"))
|
239
240
|
self.graph_selector.configure(variable=self.option_manager.get("selected_graph"))
|
241
|
+
graph_types = []
|
242
|
+
if mode == "Optimization":
|
243
|
+
graph_types = ["Best Cost Stacked", "Best Cost by Round", "Custom CSV", "Compare CSV"]
|
244
|
+
elif mode == "Sensitivity Analysis":
|
245
|
+
graph_types = ["Custom CSV", "Compare CSV"]
|
246
|
+
elif mode == "Sampling: Halton" or mode == "Sampling Random":
|
247
|
+
graph_types = ["Sampling CSV", "Matrix Editor"]
|
248
|
+
self.graph_selector.configure(values=graph_types)
|
249
|
+
|
240
250
|
|
241
251
|
if mode == "Optimization":
|
242
252
|
self.test_button.configure(state="normal")
|
@@ -80,7 +80,7 @@ def create_tab(self, tab):
|
|
80
80
|
subprocess.Popen(["open", os.path.join(folder, self.selected_graph_name + "_package")])
|
81
81
|
else:
|
82
82
|
subprocess.Popen(["xdg-open", os.path.join(folder, self.selected_graph_name + "_package")])
|
83
|
-
|
83
|
+
|
84
84
|
def _resize_image(event):
|
85
85
|
self.graph_label.update_idletasks()
|
86
86
|
new_width = self.graph_label.winfo_width()
|
@@ -116,7 +116,7 @@ def create_tab(self, tab):
|
|
116
116
|
self.graph_container.grid_columnconfigure(0, weight=1)
|
117
117
|
self.graph_container.grid_rowconfigure(0, weight=1)
|
118
118
|
|
119
|
-
graph_types = [
|
119
|
+
graph_types = []
|
120
120
|
self.graph_selector = customtkinter.CTkOptionMenu(self.graph_sidebar, values=graph_types, variable=self.option_manager.get("selected_graph"), command=self.update_graph)
|
121
121
|
self.graph_selector.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
122
122
|
|
File without changes
|
File without changes
|
File without changes
|