mg-pso-gui 0.2.110__py3-none-any.whl → 0.2.111__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.110.dist-info → mg_pso_gui-0.2.111.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.110.dist-info → mg_pso_gui-0.2.111.dist-info}/RECORD +8 -8
- mgpsogui/gui/HomePage.py +1 -1
- mgpsogui/gui/OptionManager.py +1 -0
- mgpsogui/gui/SetupTab/StepView.py +26 -0
- {mg_pso_gui-0.2.110.dist-info → mg_pso_gui-0.2.111.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.110.dist-info → mg_pso_gui-0.2.111.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.110.dist-info → mg_pso_gui-0.2.111.dist-info}/top_level.txt +0 -0
@@ -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=
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
4
|
+
mgpsogui/gui/HomePage.py,sha256=DnEeSx95pMDduygCCJ9ZYU2ZuvEQWM4vLF60aii5DSM,24388
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=t0aXOeBo48qQ-P8OykpP2v_3KJoaJtUPSkYtacjloCc,22844
|
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/NoticeWindow.py,sha256=HcTtaYKK4b7HognnoAHXiIHZWAXI80QfR8HM2dTLTV8,1866
|
@@ -25,7 +25,7 @@ mgpsogui/gui/SetupTab/OverrideParameterWindow.py,sha256=UpZDxTaFxee0BeviUYXeiIlM
|
|
25
25
|
mgpsogui/gui/SetupTab/SamplingListView.py,sha256=DhZBAhDcrqZn1XioCs1gTe_v-8W10C0UfPm0fLAbeXM,5260
|
26
26
|
mgpsogui/gui/SetupTab/SamplingNameListWindow.py,sha256=QzVu8mSpFGy3mUlLonk94k5thDNdJzw2d3qmEq89RAQ,2866
|
27
27
|
mgpsogui/gui/SetupTab/SetupTab.py,sha256=3V8LYvg5ulTll1hhguB_XpSoOR-w72vHh_Z3gw3nCxc,2758
|
28
|
-
mgpsogui/gui/SetupTab/StepView.py,sha256=
|
28
|
+
mgpsogui/gui/SetupTab/StepView.py,sha256=Y5I9NaiTdaToqdCpn6KzwXUrx2udnHm2fgshGZsT-T8,10396
|
29
29
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
30
|
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256=Gzyl2hRgjIfO5n0bCZZoXp_vOFvfsJPaGXDUMeRQg10,3171
|
31
31
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=jfGoyRdyeF2-YRvPhlr-5yd7VSHIYiskwf13HEoaYbA,23433
|
@@ -73,8 +73,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
73
73
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
74
74
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
75
75
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
76
|
-
mg_pso_gui-0.2.
|
77
|
-
mg_pso_gui-0.2.
|
78
|
-
mg_pso_gui-0.2.
|
79
|
-
mg_pso_gui-0.2.
|
80
|
-
mg_pso_gui-0.2.
|
76
|
+
mg_pso_gui-0.2.111.dist-info/METADATA,sha256=kdxRGu-uNvqg5ZprBLyvQEAFw4zt9FGkPfcAhrp-Llg,9542
|
77
|
+
mg_pso_gui-0.2.111.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
78
|
+
mg_pso_gui-0.2.111.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
79
|
+
mg_pso_gui-0.2.111.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
80
|
+
mg_pso_gui-0.2.111.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -523,7 +523,7 @@ class App(customtkinter.CTk):
|
|
523
523
|
message = f.read()
|
524
524
|
NW(title="Error Occurred!", message=message)
|
525
525
|
# Rename crash.txt to crash_read.txt
|
526
|
-
os.
|
526
|
+
os.replace(os.path.join(folder, 'crash.txt'), os.path.join(folder, 'crash_read.txt'))
|
527
527
|
self.stop()
|
528
528
|
|
529
529
|
while True:
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -126,9 +126,35 @@ class StepView(CTkScrollableFrame):
|
|
126
126
|
self.output_method.grid(row=0, column=2, padx=(10, 10), pady=header_padding_y)
|
127
127
|
|
128
128
|
row += 1
|
129
|
+
elif (self.mode == "Optimization" and len(self.steps) > 10):
|
130
|
+
|
131
|
+
header_padding_x = (5, 5)
|
132
|
+
header_padding_y = (10, 10)
|
133
|
+
|
134
|
+
self.file_selector_frame = CTkFrame(self.containerFrame)
|
135
|
+
self.file_selector_frame.grid(row=0, column=0, sticky="nsew", columnspan=2)
|
136
|
+
self.logo_label = CTkLabel(self.file_selector_frame, text="Select Group:")
|
137
|
+
self.logo_label.grid(row=0, column=0, padx=(10, 10), pady=header_padding_y)
|
138
|
+
|
139
|
+
step_names = []
|
140
|
+
for step in self.steps:
|
141
|
+
step_names.append(step['name'].get())
|
142
|
+
|
143
|
+
selected_group = self.option_manager.get("optimization_selected_group").get()
|
144
|
+
if selected_group not in step_names:
|
145
|
+
self.option_manager.get("optimization_selected_group").set(step_names[0])
|
146
|
+
|
147
|
+
self.group_selector = CTkOptionMenu(self.file_selector_frame, values=files, width=50, variable=self.option_manager.get("optimization_selected_group"), command=self.refresh)
|
148
|
+
self.group_selector.grid(row=0, column=1, padx=(10, 10), pady=header_padding_y)
|
149
|
+
|
150
|
+
row += 1
|
129
151
|
|
130
152
|
|
131
153
|
for step in self.steps:
|
154
|
+
if (self.mode == "Optimization" and len(self.steps) > 10):
|
155
|
+
if (step['name'].get() != self.option_manager.get("optimization_selected_group").get()):
|
156
|
+
index += 1
|
157
|
+
continue
|
132
158
|
|
133
159
|
up_image = CTkImage(Image.open(os.path.join("./images", "up.png")), size=(20, 20))
|
134
160
|
down_image = CTkImage(Image.open(os.path.join("./images", "down.png")), size=(20, 20))
|
File without changes
|
File without changes
|
File without changes
|