mg-pso-gui 0.1.68__py3-none-any.whl → 0.1.70__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.1.68.dist-info → mg_pso_gui-0.1.70.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.68.dist-info → mg_pso_gui-0.1.70.dist-info}/RECORD +7 -7
- mgpsogui/gui/VisualizeTab/SideBar.py +3 -0
- mgpsogui/util/GraphGenerator.py +5 -1
- {mg_pso_gui-0.1.68.dist-info → mg_pso_gui-0.1.70.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.68.dist-info → mg_pso_gui-0.1.70.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.68.dist-info → mg_pso_gui-0.1.70.dist-info}/top_level.txt +0 -0
|
@@ -18,7 +18,7 @@ mgpsogui/gui/SetupTab/SetupTab.py,sha256=bqb_kgDaTi0oEOjPNBCbdyHaGvCvMRG6LAZ5DXq
|
|
|
18
18
|
mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
|
|
19
19
|
mgpsogui/gui/SetupTab/StepView.py,sha256=oG5Q-3xpTRP1f_PbNvohKctrbpD63zLAJzHD00bN44k,5531
|
|
20
20
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
-
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=
|
|
21
|
+
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=WD3PUBCXXneR17HmTB9qatlImVDmlgtsWFBU01bm8QA,13056
|
|
22
22
|
mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=y3ZjLR78yXjHTcHMpB637ipBKxb1CCEM3qzG8OUJvpQ,3477
|
|
23
23
|
mgpsogui/gui/VisualizeTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
mgpsogui/gui/images/IGOW 4 Logo.png,sha256=JixNXz5gOEj898VF-_PHthAlGU-6W-y9ucb4EVNPtjs,433752
|
|
@@ -32,7 +32,7 @@ mgpsogui/gui/images/stop.png,sha256=JPuxXQerCGpLikcp7cAj3iLCOjULMYYZ2sZe0lArh68,
|
|
|
32
32
|
mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,3642
|
|
33
33
|
mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
|
|
34
34
|
mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
|
|
35
|
-
mgpsogui/util/GraphGenerator.py,sha256=
|
|
35
|
+
mgpsogui/util/GraphGenerator.py,sha256=VA69VpPxqPleT5F4v7ZEqSjmYQvJWAUJPzDN9tIps20,14794
|
|
36
36
|
mgpsogui/util/PSORunner.py,sha256=4T-L4t0I6ogMeT5v7YUaURS-g_WaN0VS2sQLpgMLMs0,4502
|
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
|
|
@@ -46,8 +46,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
|
46
46
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
|
47
47
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
|
48
48
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
|
49
|
-
mg_pso_gui-0.1.
|
|
50
|
-
mg_pso_gui-0.1.
|
|
51
|
-
mg_pso_gui-0.1.
|
|
52
|
-
mg_pso_gui-0.1.
|
|
53
|
-
mg_pso_gui-0.1.
|
|
49
|
+
mg_pso_gui-0.1.70.dist-info/METADATA,sha256=Lhl7VzXQI8_HJ475PW_RBq8xGKVTMjF_zkSw2khKsBw,9458
|
|
50
|
+
mg_pso_gui-0.1.70.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
51
|
+
mg_pso_gui-0.1.70.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
52
|
+
mg_pso_gui-0.1.70.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
53
|
+
mg_pso_gui-0.1.70.dist-info/RECORD,,
|
|
@@ -86,6 +86,7 @@ class SideBar(CTkScrollableFrame):
|
|
|
86
86
|
selected_file = self.home_page.selected_csv.get()
|
|
87
87
|
if (selected_file in path_map and selected_file != self.home_page.open_file):
|
|
88
88
|
self.home_page.csv_data = self.load_special_csv(path_map[selected_file])
|
|
89
|
+
print(self.home_page.csv_data)
|
|
89
90
|
self.home_page.open_file = selected_file
|
|
90
91
|
|
|
91
92
|
if (self.home_page.csv_data is not None):
|
|
@@ -155,11 +156,13 @@ class SideBar(CTkScrollableFrame):
|
|
|
155
156
|
selected_file = self.home_page.selected_csv.get()
|
|
156
157
|
if (selected_file in path_map and selected_file != self.home_page.open_file):
|
|
157
158
|
self.home_page.csv_data = self.load_special_csv(path_map[selected_file])
|
|
159
|
+
print(self.home_page.csv_data)
|
|
158
160
|
self.home_page.open_file = selected_file
|
|
159
161
|
|
|
160
162
|
selected_file2 = self.home_page.selected_csv2.get()
|
|
161
163
|
if (selected_file2 in path_map and selected_file2 != self.home_page.open_file2):
|
|
162
164
|
self.home_page.csv_data2 = self.load_special_csv(path_map[selected_file])
|
|
165
|
+
print(self.home_page.csv_data2)
|
|
163
166
|
self.home_page.open_file2 = selected_file2
|
|
164
167
|
|
|
165
168
|
if (self.home_page.csv_data is not None and self.home_page.csv_data2 is not None):
|
mgpsogui/util/GraphGenerator.py
CHANGED
|
@@ -5,6 +5,7 @@ import numpy as np
|
|
|
5
5
|
import os
|
|
6
6
|
from PIL import Image, ImageTk
|
|
7
7
|
import customtkinter
|
|
8
|
+
import traceback
|
|
8
9
|
|
|
9
10
|
def generate_graphs(HomePage):
|
|
10
11
|
try:
|
|
@@ -42,7 +43,10 @@ def generate_graphs(HomePage):
|
|
|
42
43
|
HomePage.graph_image = customtkinter.CTkImage(HomePage.graph_image_obj, size=(HomePage.image_width * HomePage.image_scale, HomePage.image_height * HomePage.image_scale))
|
|
43
44
|
HomePage.graph_label.configure(image=HomePage.graph_image)
|
|
44
45
|
except Exception as e:
|
|
45
|
-
print(e)
|
|
46
|
+
print(f"An exception occurred in Graph Generator: {str(e)}")
|
|
47
|
+
print(f"Exception type: {type(e).__name__}")
|
|
48
|
+
print("Traceback:")
|
|
49
|
+
traceback.print_exc()
|
|
46
50
|
|
|
47
51
|
def best_cost_stacked(config, dataframe, option_manager):
|
|
48
52
|
fig = go.Figure()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|