mg-pso-gui 0.1.106__py3-none-any.whl → 0.1.107__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.106
3
+ Version: 0.1.107
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -41,14 +41,14 @@ mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MO
41
41
  mgpsogui/util/recosu/__init__.py,sha256=T7_iigIlowGbPOHLO3hwihjw2kbwIg6olOMhFhNiL38,236
42
42
  mgpsogui/util/recosu/pso/__init__.py,sha256=PQ548aEKVOk6MMzxxDg7yMO_1hHfoEoYLLkGLeij73Y,247
43
43
  mgpsogui/util/recosu/pso/csip_access.py,sha256=jBli1MSShUUwQCMKOUvMaGuNwBViCrjXJi_FmSEJsZA,2721
44
- mgpsogui/util/recosu/pso/pso.py,sha256=X5stHo5Lx8AC6HsheQW1mCqlTSlLUG6OdDyOfxhmy54,12826
44
+ mgpsogui/util/recosu/pso/pso.py,sha256=JN4nJcQRw_XAPfdUQSJx60HARCBB5V-hz7toTe_vSbQ,12867
45
45
  mgpsogui/util/recosu/utils/__init__.py,sha256=TXz_TpNif2GeGu22pzTnkUQvaP-PmLQ9Sz4BgMIS6ig,196
46
46
  mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvarrMRXJMbDBWqI8,3023
47
47
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
48
48
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
49
49
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
50
- mg_pso_gui-0.1.106.dist-info/METADATA,sha256=aqBzSOr_yAbt6SxZABA_OMPbTek3kNfpqsBZSAZzaoE,9459
51
- mg_pso_gui-0.1.106.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
52
- mg_pso_gui-0.1.106.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
53
- mg_pso_gui-0.1.106.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
54
- mg_pso_gui-0.1.106.dist-info/RECORD,,
50
+ mg_pso_gui-0.1.107.dist-info/METADATA,sha256=XI6EjVCh872bujkdZdK76sHiy3ZT_T0qtEiDk7jcYNI,9459
51
+ mg_pso_gui-0.1.107.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
52
+ mg_pso_gui-0.1.107.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
53
+ mg_pso_gui-0.1.107.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
54
+ mg_pso_gui-0.1.107.dist-info/RECORD,,
@@ -276,7 +276,8 @@ def global_best(steps: Dict, rounds: Tuple, args: Dict, n_particles: int, iters:
276
276
  key = "r{}s{}".format(r + 1, s + 1)
277
277
  step_trace[key] = {}
278
278
  step_trace[key]['time'] = str(datetime.datetime.now())
279
- step_trace[key]['best_costs'] = str(best_cost)
279
+
280
+ step_trace[key]['best_costs'] = best_cost.tolist() # BUG
280
281
  step_trace[key]['steps'] = copy.deepcopy(steps)
281
282
 
282
283
  if step_file is not None:
@@ -313,8 +314,8 @@ def global_best(steps: Dict, rounds: Tuple, args: Dict, n_particles: int, iters:
313
314
  step_trace[key] = {}
314
315
  step_trace[key]['time'] = str(datetime.datetime.now())
315
316
  step_trace[key]['round_cost'] = round_cost
316
- step_trace[key]['best_costs'] = best_cost
317
- step_trace[key]['improvements'] = no_improvement
317
+ step_trace[key]['best_costs'] = best_cost.tolist()
318
+ step_trace[key]['improvements'] = no_improvement.tolist()
318
319
  if step_file is not None:
319
320
  with open(step_file, "w") as fo:
320
321
  json.dump(step_trace, fo)