mg-pso-gui 0.2.87__py3-none-any.whl → 0.2.89__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.2.87
3
+ Version: 0.2.89
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -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=FMgqlpI8Ahz5XDxaMp1KfKF8sl96AcsoLSUzp8BqSLE,22827
4
+ mgpsogui/gui/HomePage.py,sha256=zGYiJJIPZfSOfVolPtPW3t5ZK_4axqu-M9VfRHo-tuo,22993
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
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=XVaXjNoH1MBI-587CWigLIT3LGT00yzEAEnXNkzCLrk,10947
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.87.dist-info/METADATA,sha256=ew1rGk6XTi9Hp5Dvia3w35RsPcAhxHxB4Mmk4SJM1Wc,9455
76
- mg_pso_gui-0.2.87.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
77
- mg_pso_gui-0.2.87.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
78
- mg_pso_gui-0.2.87.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
79
- mg_pso_gui-0.2.87.dist-info/RECORD,,
75
+ mg_pso_gui-0.2.89.dist-info/METADATA,sha256=AJPQlGPOTlBwA61e9cULAehPzkeeAJKmjjdVLixd6fg,9455
76
+ mg_pso_gui-0.2.89.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
77
+ mg_pso_gui-0.2.89.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
78
+ mg_pso_gui-0.2.89.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
79
+ mg_pso_gui-0.2.89.dist-info/RECORD,,
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
- NW(title="Welcome!", message="Welcome to COSU Manager!")
213
+ # Read the file ./messages/welcome.txt and load it as a string and put it into the message
214
+
215
+ with open(os.path.join("./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=["Local", "Other"])
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=2, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
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=3, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
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=4, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
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=5, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
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=6, column=0, padx=(20, 20), pady=(5,10), sticky="ew")
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=7, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
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=8, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
208
+ self.custer_details.grid(row=6, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")