mg-pso-gui 0.1.76__py3-none-any.whl → 0.1.78__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.76
3
+ Version: 0.1.78
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -33,21 +33,21 @@ 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=xdRonFbU7s7YJpMGamITc5AVKjhl99nKGSkoPmrlbcw,4554
36
+ mgpsogui/util/PSORunner.py,sha256=NAcXzS5hhLmdrqx8qOA78Dfutc0aa6PrUvrEp1IspGQ,4617
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
40
40
  mgpsogui/util/recosu/__init__.py,sha256=T7_iigIlowGbPOHLO3hwihjw2kbwIg6olOMhFhNiL38,236
41
41
  mgpsogui/util/recosu/pso/__init__.py,sha256=PQ548aEKVOk6MMzxxDg7yMO_1hHfoEoYLLkGLeij73Y,247
42
42
  mgpsogui/util/recosu/pso/csip_access.py,sha256=jBli1MSShUUwQCMKOUvMaGuNwBViCrjXJi_FmSEJsZA,2721
43
- mgpsogui/util/recosu/pso/pso.py,sha256=6jGIcIzVHe80C-uU31gLoSAAu3rbh-a7aqYeqaloaro,12474
43
+ mgpsogui/util/recosu/pso/pso.py,sha256=6e96_f4G6HMRg3FM8xwMfcOqWcEtkBEya6Xv1U0ZU_c,12543
44
44
  mgpsogui/util/recosu/utils/__init__.py,sha256=TXz_TpNif2GeGu22pzTnkUQvaP-PmLQ9Sz4BgMIS6ig,196
45
45
  mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvarrMRXJMbDBWqI8,3023
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.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,,
49
+ mg_pso_gui-0.1.78.dist-info/METADATA,sha256=C_D45qmjcunv1nS5kf0OKG_A-Nfn0yg-A8w05Yss6wc,9458
50
+ mg_pso_gui-0.1.78.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
+ mg_pso_gui-0.1.78.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
+ mg_pso_gui-0.1.78.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
+ mg_pso_gui-0.1.78.dist-info/RECORD,,
@@ -87,12 +87,14 @@ def run_process(stdout_queue, stderr_queue, results_queue, cosu_queue, data, fol
87
87
  'async_call': True if calibration_map['async_call'] == "True" else False,
88
88
  'http_conn_timeout': int(calibration_map['conn_timeout']),
89
89
  'http_read_timeout': int(calibration_map['read_timeout']),
90
- 'particles_fail': int(calibration_map['particles_fail'])
90
+ 'particles_fail': int(calibration_map['particles_fail']),
91
+ 'step_trace': "./trace.json"
91
92
  },
92
93
  result_queue = cosu_queue
93
94
  )
94
95
 
95
96
  results_queue.put(trace)
97
+ print(trace)
96
98
 
97
99
  print("Finishing up...")
98
100
  time.sleep(5)
@@ -336,4 +336,7 @@ def global_best(steps: Dict, rounds: Tuple, args: Dict, n_particles: int, iters:
336
336
  with open(step_file, "w") as fo:
337
337
  json.dump(step_trace, fo)
338
338
 
339
+ result_queue.put("Step Trace")
340
+ result_queue.put(step_trace)
341
+
339
342
  return optimizer, step_trace