mg-pso-gui 0.0.194__tar.gz → 0.0.196__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/PKG-INFO +1 -1
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/HomePage.py +11 -4
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/util/PSORunner.py +0 -3
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/setup.py +1 -1
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/OptionManager.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/PlatformTab/PlatformTab.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/CalibrationParametersView.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/StaticParameterView.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/StepView.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/collapse.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/down.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/expand.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/play.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/refresh.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/stop.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/trash.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/images/up.png +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/mgpsogui.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/start.yaml +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/util/__init__.py +0 -0
- {mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/setup.cfg +0 -0
@@ -26,6 +26,8 @@ import ast
|
|
26
26
|
import platform
|
27
27
|
import time
|
28
28
|
|
29
|
+
from queue import Empty
|
30
|
+
|
29
31
|
from ..util import PSORunner
|
30
32
|
from ..util import GraphGenerator
|
31
33
|
|
@@ -407,10 +409,15 @@ class App(customtkinter.CTk):
|
|
407
409
|
if not os.path.exists(folder):
|
408
410
|
os.makedirs(folder)
|
409
411
|
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
|
412
|
+
try:
|
413
|
+
stdout_line = stdout_queue.get_nowait()
|
414
|
+
stderr_line = stderr_queue.get_nowait()
|
415
|
+
except Empty:
|
416
|
+
pass # No output yet
|
417
|
+
else:
|
418
|
+
# Got line from the output: do something
|
419
|
+
print(f"Received stdout: {stdout_line}")
|
420
|
+
print(f"Received stderr: {stderr_line}")
|
414
421
|
|
415
422
|
if (os.path.exists(os.path.join(folder, 'output.txt'))):
|
416
423
|
with open(os.path.join(folder, 'output.txt'), 'r') as f:
|
@@ -33,9 +33,6 @@ def run_process(stdout_queue, stderr_queue, results_queue, data, folder):
|
|
33
33
|
|
34
34
|
if (os.path.exists(os.path.join(folder, 'error.txt'))):
|
35
35
|
os.remove(os.path.join(folder, 'error.txt'))
|
36
|
-
|
37
|
-
#sys.stdout = open(os.path.join(folder, 'output.txt'), 'w', buffering=1)
|
38
|
-
#sys.stderr = open(os.path.join(folder, 'error.txt'), 'w', buffering=1)
|
39
36
|
|
40
37
|
old_stdout = sys.stdout
|
41
38
|
old_stderr = sys.stderr
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mg-pso-gui-0.0.194 → mg-pso-gui-0.0.196}/mgpsogui/gui/SetupTab/CalibrationParametersView.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|