mg-pso-gui 0.0.99__py3-none-any.whl → 0.0.101__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.99
3
+ Version: 0.0.101
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -5,7 +5,7 @@ mgpsogui/gui/BoundsEditorWindow.py,sha256=tDCap4qFQw3MRQo0d81W3vqmQlWQGNZYPh0Tyh
5
5
  mgpsogui/gui/BoundsList.py,sha256=gNhK8ZbTMcfMssV0iL8zKqqhewiEGtKce8hHCV40OhQ,12263
6
6
  mgpsogui/gui/CalibrationParametersView.py,sha256=ppVBHG3nphku9-P6Z8az-HTpgk8vHxnj-A5m80BZTgA,2784
7
7
  mgpsogui/gui/FunctionsList.py,sha256=bTH_OeWqwXdJLKOLEclqrJ-wAZ4pNGPP-oCf5eOqQjo,3822
8
- mgpsogui/gui/HomePage.py,sha256=uaIx1lZkQd4YK4XcqZTiqxF6hL56XcHPPOXg20RM0T8,35087
8
+ mgpsogui/gui/HomePage.py,sha256=KgGxr6Zfsabk0mNPzqOAxorbx_aYTuyNUbPynP4p3oE,35168
9
9
  mgpsogui/gui/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUUOK5tGUFVHBf3ck,7352
10
10
  mgpsogui/gui/OptionManager.py,sha256=EPRe9hmtjnnzY2WBWZKbVmvGONfCWTq3Ti2mdGV_vZw,11149
11
11
  mgpsogui/gui/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
@@ -21,8 +21,8 @@ mgpsogui/util/PSORunner.py,sha256=7iUYRUXgpZ0l0rqoyHQYY1Yg9q0gl9TE0jNaHZMv04c,29
21
21
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
22
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
23
23
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
24
- mg_pso_gui-0.0.99.dist-info/METADATA,sha256=9ebqrq3wOuTDgVvfLjuuwOXtAB2h9EaVUtGsk7Cu40U,9458
25
- mg_pso_gui-0.0.99.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
26
- mg_pso_gui-0.0.99.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
27
- mg_pso_gui-0.0.99.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
28
- mg_pso_gui-0.0.99.dist-info/RECORD,,
24
+ mg_pso_gui-0.0.101.dist-info/METADATA,sha256=a3_sTUQ1UorWu9zmTvdA-PaH00OrVXCU9rs9hJBR7po,9459
25
+ mg_pso_gui-0.0.101.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
26
+ mg_pso_gui-0.0.101.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
27
+ mg_pso_gui-0.0.101.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
28
+ mg_pso_gui-0.0.101.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -14,7 +14,7 @@ import tkinter.messagebox
14
14
  import customtkinter
15
15
  import json
16
16
  import os
17
- from PIL import Image
17
+ from PIL import Image, ImageTk
18
18
  import traceback
19
19
  from multiprocessing import Process
20
20
  from multiprocessing import Queue
@@ -270,6 +270,7 @@ class App(customtkinter.CTk):
270
270
 
271
271
  self.graph_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "up.png")), size=(700, 500))
272
272
  self.graph_label = customtkinter.CTkLabel(self.tabview.tab(tab4), text=None, image=self.graph_image)
273
+ self.tabview.tab(tab4).itemconfig(self.graph_image, tags="all")
273
274
  self.graph_label.grid(row=1, column=0, columnspan=3, padx=(20, 20), pady=(20, 20), sticky="nsew")
274
275
 
275
276
  def callback_test(self, *args):
@@ -306,8 +307,8 @@ class App(customtkinter.CTk):
306
307
 
307
308
  def open_terminal_and_run_cluster(self):
308
309
  full_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'start.yaml'))
309
- #command = "minikube kubectl -- create -f " + full_path + " ; sleep 60 ; minikube service pf8087-csu-csip-oms -n csip"
310
- command = "minikube kubectl -- create -f " + full_path + " ; until [[ $(minikube kubectl -- get pods -l app=pf8087-csu-csip-oms -n csip -o \\'jsonpath={..status.conditions[?(@.type==\\\"Ready\\\")].status}\\') == \\\"True\\\" ]]; do echo \\\"waiting for pod\\\" && sleep 1; done ; minikube service pf8087-csu-csip-oms -n csip"
310
+ command = "minikube kubectl -- create -f " + full_path + " ; sleep 60 ; minikube service pf8087-csu-csip-oms -n csip"
311
+ #command = "minikube kubectl -- create -f " + full_path + " ; until [[ $(minikube kubectl -- get pods -l app=pf8087-csu-csip-oms -n csip -o \\'jsonpath={..status.conditions[?(@.type==\\\"Ready\\\")].status}\\') == \\\"True\\\" ]]; do echo \\\"waiting for pod\\\" && sleep 1; done ; minikube service pf8087-csu-csip-oms -n csip"
311
312
 
312
313
  self.create_environment_button.configure(text="Running!")
313
314