mg-pso-gui 0.0.206__tar.gz → 0.0.208__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/PKG-INFO +1 -1
  2. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mg_pso_gui.egg-info/PKG-INFO +1 -1
  3. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/HomePage.py +2 -2
  4. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/util/PSORunner.py +12 -0
  5. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/setup.py +1 -1
  6. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
  7. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
  8. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mg_pso_gui.egg-info/entry_points.txt +0 -0
  9. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mg_pso_gui.egg-info/requires.txt +0 -0
  10. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mg_pso_gui.egg-info/top_level.txt +0 -0
  11. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/__init__.py +0 -0
  12. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/OptionManager.py +0 -0
  13. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
  14. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
  15. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/RunTab/RunTab.py +0 -0
  16. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/RunTab/__init__.py +0 -0
  17. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
  18. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
  19. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
  20. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
  21. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
  22. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
  23. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
  24. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/StepView.py +0 -0
  25. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/SetupTab/__init__.py +0 -0
  26. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
  27. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
  28. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/__init__.py +0 -0
  29. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/IGOW 4 Logo.png +0 -0
  30. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/collapse.png +0 -0
  31. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/down.png +0 -0
  32. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/expand.png +0 -0
  33. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/play.png +0 -0
  34. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/refresh.png +0 -0
  35. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/refresh_hd.png +0 -0
  36. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/stop.png +0 -0
  37. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/trash.png +0 -0
  38. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/gui/images/up.png +0 -0
  39. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/mgpsogui.py +0 -0
  40. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/start.yaml +0 -0
  41. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
  42. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
  43. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/util/GraphGenerator.py +0 -0
  44. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/mgpsogui/util/__init__.py +0 -0
  45. {mg-pso-gui-0.0.206 → mg-pso-gui-0.0.208}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.206
3
+ Version: 0.0.208
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.206
3
+ Version: 0.0.208
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -413,7 +413,7 @@ class App(customtkinter.CTk):
413
413
  try:
414
414
  stdout_line = stdout_queue.get_nowait()
415
415
 
416
- print("#" + stdout_line)
416
+ print("# " + stdout_line)
417
417
  #with open(os.path.join(folder, 'output.txt'), 'a') as f:
418
418
  # f.write(stdout_line)
419
419
 
@@ -424,7 +424,7 @@ class App(customtkinter.CTk):
424
424
  try:
425
425
  stderr_line = stderr_queue.get_nowait()
426
426
 
427
- print("?" + stderr_line)
427
+ print("? " + stderr_line)
428
428
  #with open(os.path.join(folder, 'error.txt'), 'a') as f:
429
429
  # f.write(stderr_line)
430
430
 
@@ -13,6 +13,11 @@ def enqueue_output(out, queue):
13
13
  for line in iter(out.readline, b''):
14
14
  queue.put(line)
15
15
  out.close()
16
+
17
+ def frozen_check():
18
+ while True:
19
+ print("NOT FROZEN")
20
+ time.sleep(5)
16
21
 
17
22
  def run_process(stdout_queue, stderr_queue, results_queue, data, folder):
18
23
  steps = data['steps']
@@ -50,6 +55,10 @@ def run_process(stdout_queue, stderr_queue, results_queue, data, folder):
50
55
  stdour_thread.start()
51
56
  stderr_thread.start()
52
57
 
58
+ frozen_check_thread = threading.Thread(target=frozen_check)
59
+ frozen_check_thread.daemon = True
60
+ frozen_check_thread.start()
61
+
53
62
  options = {}
54
63
  oh_strategy = {}
55
64
 
@@ -67,6 +76,9 @@ def run_process(stdout_queue, stderr_queue, results_queue, data, folder):
67
76
  print(oh_strategy)
68
77
  print("\n")
69
78
 
79
+ print("waiting 30 seconds...\n")
80
+ time.sleep(30)
81
+
70
82
  print("Running global_best...\n")
71
83
 
72
84
  optimizer, trace = global_best(steps, # step definition
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
  import codecs
3
3
  import os
4
4
 
5
- VERSION = '0.0.206'
5
+ VERSION = '0.0.208'
6
6
  DESCRIPTION = 'GUI for MG-PSO'
7
7
  LONG_DESCRIPTION = open('../README.md').read()
8
8
 
File without changes