mg-pso-gui 0.2.86__py3-none-any.whl → 0.2.88__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- {mg_pso_gui-0.2.86.dist-info → mg_pso_gui-0.2.88.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.86.dist-info → mg_pso_gui-0.2.88.dist-info}/RECORD +8 -8
- mgpsogui/gui/General/NoticeWindow.py +1 -0
- mgpsogui/gui/HomePage.py +5 -1
- mgpsogui/gui/PlatformTab/PlatformTab.py +11 -11
- {mg_pso_gui-0.2.86.dist-info → mg_pso_gui-0.2.88.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.86.dist-info → mg_pso_gui-0.2.88.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.86.dist-info → mg_pso_gui-0.2.88.dist-info}/top_level.txt +0 -0
@@ -1,14 +1,14 @@
|
|
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=UiU1gL_OYmQ5V-YLjkiLdIBjYRUq1x_riGNl5TIa_yQ,22976
|
5
5
|
mgpsogui/gui/OptionManager.py,sha256=OczLGSmS9MfE2HgpPNw0OFbl2AdNQ_70pxQUKIDWAnU,21707
|
6
6
|
mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
|
7
7
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
|
-
mgpsogui/gui/General/NoticeWindow.py,sha256=
|
8
|
+
mgpsogui/gui/General/NoticeWindow.py,sha256=soYLqdmUMPxdTEcq7tXtlnmllfSIpse_mZZMD3bNX1Y,1822
|
9
9
|
mgpsogui/gui/General/ParameterView.py,sha256=gTpsXQomHgWxdHhiMxjOk171PeefXqdpVQefH88PE_c,6384
|
10
10
|
mgpsogui/gui/General/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=
|
11
|
+
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=8J2Aa3Zrh1q9x07zZ0Ap9PgwHjeSKOYyj6wlxx40udw,10985
|
12
12
|
mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_ozzJhyBkL08fJzI,1752
|
14
14
|
mgpsogui/gui/RunTab/RunTab.py,sha256=47_r8K-e7f8zs93_2iPYnNBzHDHZejtedk7iSElkubU,5608
|
@@ -72,8 +72,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
72
72
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
73
73
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
74
74
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
75
|
-
mg_pso_gui-0.2.
|
76
|
-
mg_pso_gui-0.2.
|
77
|
-
mg_pso_gui-0.2.
|
78
|
-
mg_pso_gui-0.2.
|
79
|
-
mg_pso_gui-0.2.
|
75
|
+
mg_pso_gui-0.2.88.dist-info/METADATA,sha256=C7SW2LjcZixMiX23MFCy-esK1H1sk4w5vfbFOCgwWgc,9455
|
76
|
+
mg_pso_gui-0.2.88.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
77
|
+
mg_pso_gui-0.2.88.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
78
|
+
mg_pso_gui-0.2.88.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
79
|
+
mg_pso_gui-0.2.88.dist-info/RECORD,,
|
@@ -29,6 +29,7 @@ class NoticeWindow(CTkInputDialog):
|
|
29
29
|
self.textbox = CTkTextbox(self, state="normal")
|
30
30
|
self.textbox.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
31
31
|
self.textbox.insert("0.0", self.message)
|
32
|
+
self.textbox.configure(state="disabled")
|
32
33
|
|
33
34
|
self._ok_button = CTkButton(master=self,
|
34
35
|
width=100,
|
mgpsogui/gui/HomePage.py
CHANGED
@@ -210,7 +210,11 @@ class App(customtkinter.CTk):
|
|
210
210
|
self.refresh_step_view(0)
|
211
211
|
self.after(1000, self.running_loop)
|
212
212
|
|
213
|
-
|
213
|
+
# Read the file ./messages/welcome.txt and load it as a string and put it into the message
|
214
|
+
|
215
|
+
with open("./messages/welcome.txt", "r") as f:
|
216
|
+
message = f.read()
|
217
|
+
NW(title="Welcome!", message=message)
|
214
218
|
|
215
219
|
def update_graph(self, value):
|
216
220
|
self.vis_sidebar.refresh()
|
@@ -175,17 +175,17 @@ def create_tab(self, tab):
|
|
175
175
|
self.environment_editor.grid_columnconfigure(0, weight=1)
|
176
176
|
self.environment_editor.grid_rowconfigure(0, weight=1)
|
177
177
|
|
178
|
-
cl = customtkinter.CTkLabel(self.environment_editor, text="Cluster Preset:", anchor="w")
|
179
|
-
cl.grid(row=0, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
178
|
+
#cl = customtkinter.CTkLabel(self.environment_editor, text="Cluster Preset:", anchor="w")
|
179
|
+
#cl.grid(row=0, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
180
180
|
|
181
|
-
self.preset_selector = customtkinter.CTkOptionMenu(self.environment_editor, values=["
|
182
|
-
self.preset_selector.grid(row=1, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
181
|
+
#self.preset_selector = customtkinter.CTkOptionMenu(self.environment_editor, values=["Optimization", "Sampling", "Sensitivity Analysis"])
|
182
|
+
#self.preset_selector.grid(row=1, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
183
183
|
|
184
184
|
cl = customtkinter.CTkLabel(self.environment_editor, text="Controls:", anchor="w")
|
185
|
-
cl.grid(row=
|
185
|
+
cl.grid(row=0, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
186
186
|
|
187
187
|
self.start_cluster_button = customtkinter.CTkButton(self.environment_editor, text="Start Minikube", command=start_cluster)
|
188
|
-
self.start_cluster_button.grid(row=
|
188
|
+
self.start_cluster_button.grid(row=1, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
189
189
|
|
190
190
|
# Check if the os is MacOS
|
191
191
|
if (platform.system() == "Darwin"):
|
@@ -193,16 +193,16 @@ def create_tab(self, tab):
|
|
193
193
|
else:
|
194
194
|
self.create_environment_button = customtkinter.CTkButton(self.environment_editor, text="Copy Command", command=deploy_cluster)
|
195
195
|
|
196
|
-
self.create_environment_button.grid(row=
|
196
|
+
self.create_environment_button.grid(row=2, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
197
197
|
|
198
198
|
self.get_status = customtkinter.CTkButton(self.environment_editor, text="Minikube Status", command=cluster_status)
|
199
|
-
self.get_status.grid(row=
|
199
|
+
self.get_status.grid(row=3, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
200
200
|
|
201
201
|
self.destroy_environment_button = customtkinter.CTkButton(self.environment_editor, text="Stop Minikube", command=stop_cluster)
|
202
|
-
self.destroy_environment_button.grid(row=
|
202
|
+
self.destroy_environment_button.grid(row=4, column=0, padx=(20, 20), pady=(5,10), sticky="ew")
|
203
203
|
|
204
204
|
cl = customtkinter.CTkLabel(self.environment_editor, text="Minikube Status:", anchor="w")
|
205
|
-
cl.grid(row=
|
205
|
+
cl.grid(row=5, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
206
206
|
|
207
207
|
self.custer_details = customtkinter.CTkTextbox(self.environment_editor, height=480)
|
208
|
-
self.custer_details.grid(row=
|
208
|
+
self.custer_details.grid(row=6, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
File without changes
|
File without changes
|
File without changes
|