mg-pso-gui 0.1.69__py3-none-any.whl → 0.1.71__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.69.dist-info → mg_pso_gui-0.1.71.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.69.dist-info → mg_pso_gui-0.1.71.dist-info}/RECORD +7 -7
- mgpsogui/gui/VisualizeTab/SideBar.py +1 -1
- mgpsogui/util/GraphGenerator.py +6 -1
- {mg_pso_gui-0.1.69.dist-info → mg_pso_gui-0.1.71.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.69.dist-info → mg_pso_gui-0.1.71.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.69.dist-info → mg_pso_gui-0.1.71.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=p4_SsSHW0yuAMvfCjg-auZu23812hiD3RrRznho6l7A,13057
|
|
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=IRG_8DM79kN243pkw889b0bPX_N-dGWWAQ6Bcns2BM8,14813
|
|
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.71.dist-info/METADATA,sha256=mI41IgccftM8AbcprwP3js0dkBPlM2Q5htXhIoH4ffo,9458
|
|
50
|
+
mg_pso_gui-0.1.71.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
51
|
+
mg_pso_gui-0.1.71.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
52
|
+
mg_pso_gui-0.1.71.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
53
|
+
mg_pso_gui-0.1.71.dist-info/RECORD,,
|
|
@@ -161,7 +161,7 @@ class SideBar(CTkScrollableFrame):
|
|
|
161
161
|
|
|
162
162
|
selected_file2 = self.home_page.selected_csv2.get()
|
|
163
163
|
if (selected_file2 in path_map and selected_file2 != self.home_page.open_file2):
|
|
164
|
-
self.home_page.csv_data2 = self.load_special_csv(path_map[
|
|
164
|
+
self.home_page.csv_data2 = self.load_special_csv(path_map[selected_file2])
|
|
165
165
|
print(self.home_page.csv_data2)
|
|
166
166
|
self.home_page.open_file2 = selected_file2
|
|
167
167
|
|
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()
|
|
@@ -303,6 +307,7 @@ def custom_csv(homepage, option_manager):
|
|
|
303
307
|
|
|
304
308
|
yy2 = pd.to_numeric(data[val2], errors="coerce")
|
|
305
309
|
|
|
310
|
+
yy2_unit = "-"
|
|
306
311
|
yy2_unit = homepage.csv_data2["data_attributes"]["Unit"][val2]
|
|
307
312
|
|
|
308
313
|
fig.add_trace(go.Scatter(x=xx, y=yy, name=val))
|
|
File without changes
|
|
File without changes
|
|
File without changes
|