mg-pso-gui 0.1.75__py3-none-any.whl → 0.1.76__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.
- {mg_pso_gui-0.1.75.dist-info → mg_pso_gui-0.1.76.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.75.dist-info → mg_pso_gui-0.1.76.dist-info}/RECORD +7 -7
- mgpsogui/gui/HomePage.py +4 -2
- mgpsogui/util/PSORunner.py +4 -1
- {mg_pso_gui-0.1.75.dist-info → mg_pso_gui-0.1.76.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.75.dist-info → mg_pso_gui-0.1.76.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.75.dist-info → mg_pso_gui-0.1.76.dist-info}/top_level.txt +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
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=T1WnSBVqjPTYD8QBp8DWloiCYaxwjUQl3rS_REuR0Oc,23983
|
|
5
5
|
mgpsogui/gui/OptionManager.py,sha256=u-mXq4ouGJ-oBa71u5GffHwSXHg3Xs32P8RtSgcTmUE,12332
|
|
6
6
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=KyIoHlMKD9nfQqHeGJwRDA4RCoe4UykjB2l6xMTKK_M,10486
|
|
@@ -33,7 +33,7 @@ mgpsogui/gui/images/test.png,sha256=MUnVpRK-isxhEHzx4Q6Yh0M6FRZD1qvgCHH2XmiSBbk,
|
|
|
33
33
|
mgpsogui/gui/images/trash.png,sha256=j8cf0kWbJd-4Jp20lUVV1o1NSeQ4v1Ej4gfcIA3DVRQ,2958
|
|
34
34
|
mgpsogui/gui/images/up.png,sha256=AQvFWCUqSQNaQ1E6LKZ9zNfSvW6t4mgy8uswdg9T2Hg,2457
|
|
35
35
|
mgpsogui/util/GraphGenerator.py,sha256=HhUsFUFhCv3wTYV8CTqU0wo56Ph9c1DocPj25AVIAdI,15076
|
|
36
|
-
mgpsogui/util/PSORunner.py,sha256=
|
|
36
|
+
mgpsogui/util/PSORunner.py,sha256=xdRonFbU7s7YJpMGamITc5AVKjhl99nKGSkoPmrlbcw,4554
|
|
37
37
|
mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
|
|
39
39
|
mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
|
|
@@ -46,8 +46,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
|
46
46
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
|
47
47
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
|
48
48
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
|
49
|
-
mg_pso_gui-0.1.
|
|
50
|
-
mg_pso_gui-0.1.
|
|
51
|
-
mg_pso_gui-0.1.
|
|
52
|
-
mg_pso_gui-0.1.
|
|
53
|
-
mg_pso_gui-0.1.
|
|
49
|
+
mg_pso_gui-0.1.76.dist-info/METADATA,sha256=_Dd64LbIp3kwX32lMBLXgzKD6eDQKJ1N-w_-Ve0sZA4,9458
|
|
50
|
+
mg_pso_gui-0.1.76.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
51
|
+
mg_pso_gui-0.1.76.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
52
|
+
mg_pso_gui-0.1.76.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
53
|
+
mg_pso_gui-0.1.76.dist-info/RECORD,,
|
mgpsogui/gui/HomePage.py
CHANGED
|
@@ -395,8 +395,7 @@ class App(customtkinter.CTk):
|
|
|
395
395
|
steps = metrics['steps']
|
|
396
396
|
for step in steps:
|
|
397
397
|
for param in step['param']:
|
|
398
|
-
|
|
399
|
-
param['default_value'] = param['optimal_value']
|
|
398
|
+
param['default_value'] = param['optimal_value']
|
|
400
399
|
self.testing = False
|
|
401
400
|
|
|
402
401
|
self.progress_data = None
|
|
@@ -535,6 +534,9 @@ class App(customtkinter.CTk):
|
|
|
535
534
|
print("TRACE " + str(trace), flush=True)
|
|
536
535
|
except Empty:
|
|
537
536
|
break
|
|
537
|
+
except Exception as e:
|
|
538
|
+
print("Some error happened when getting the trace!")
|
|
539
|
+
print(e)
|
|
538
540
|
|
|
539
541
|
if (os.path.exists(os.path.join(folder, 'output.txt'))):
|
|
540
542
|
with open(os.path.join(folder, 'output.txt'), 'r') as f:
|
mgpsogui/util/PSORunner.py
CHANGED
|
@@ -92,13 +92,16 @@ def run_process(stdout_queue, stderr_queue, results_queue, cosu_queue, data, fol
|
|
|
92
92
|
result_queue = cosu_queue
|
|
93
93
|
)
|
|
94
94
|
|
|
95
|
+
results_queue.put(trace)
|
|
96
|
+
|
|
97
|
+
print("Finishing up...")
|
|
98
|
+
time.sleep(5)
|
|
95
99
|
|
|
96
100
|
stdour_thread.join()
|
|
97
101
|
stderr_thread.join()
|
|
98
102
|
|
|
99
103
|
sys.stdout = old_stdout
|
|
100
104
|
sys.stderr = old_stderr
|
|
101
|
-
results_queue.put(trace)
|
|
102
105
|
|
|
103
106
|
"""
|
|
104
107
|
def get_results():
|
|
File without changes
|
|
File without changes
|
|
File without changes
|