mg-pso-gui 0.1.75__py3-none-any.whl → 0.1.77__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.1.75
3
+ Version: 0.1.77
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -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=d4_jWFLCJeOBKsmb1lAU6I2XOISdLNMH_DPmrqQviXo,23925
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=4T-L4t0I6ogMeT5v7YUaURS-g_WaN0VS2sQLpgMLMs0,4502
36
+ mgpsogui/util/PSORunner.py,sha256=V9uqJRPCRUAoGBnENFCS1rCDVRUCo_nziAnAmhqP1nU,4571
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.75.dist-info/METADATA,sha256=FxFNl0zZzhN6jqScx11b11sE22OOHoCvZGLZv_dxwy8,9458
50
- mg_pso_gui-0.1.75.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
- mg_pso_gui-0.1.75.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
- mg_pso_gui-0.1.75.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
- mg_pso_gui-0.1.75.dist-info/RECORD,,
49
+ mg_pso_gui-0.1.77.dist-info/METADATA,sha256=eYr-vzuGPaz-QM5wA7anCTS6uj1sm_oOLqFQbA1qgsI,9458
50
+ mg_pso_gui-0.1.77.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
+ mg_pso_gui-0.1.77.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
+ mg_pso_gui-0.1.77.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
+ mg_pso_gui-0.1.77.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
- if param['optimal_value'] != 0:
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:
@@ -92,13 +92,17 @@ 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
+ print(trace)
97
+
98
+ print("Finishing up...")
99
+ time.sleep(5)
95
100
 
96
101
  stdour_thread.join()
97
102
  stderr_thread.join()
98
103
 
99
104
  sys.stdout = old_stdout
100
105
  sys.stderr = old_stderr
101
- results_queue.put(trace)
102
106
 
103
107
  """
104
108
  def get_results():