mg-pso-gui 0.1.139__py3-none-any.whl → 0.1.140__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.139
3
+ Version: 0.1.140
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -47,7 +47,7 @@ mgpsogui/util/recosu/pso/pso.py,sha256=iPqT6aI1vi8LYuWmtxuHkLEM9sQwhUznPInBgps7A
47
47
  mgpsogui/util/recosu/sampling/__init__.py,sha256=dWs1MPx0o2UFmOmUfFaomQWBTIZAwALsVJzZQNZePZU,252
48
48
  mgpsogui/util/recosu/sampling/sample_trace_writer.py,sha256=M9w-POLlZgjL5a7J7yxr73OG6mCsS2aUuP9d3HKfkbA,1966
49
49
  mgpsogui/util/recosu/sampling/sampler_task.py,sha256=uZobpR83u6xEaUzIknvW9FbB84c2AL7T-5T8O8QIhzY,2776
50
- mgpsogui/util/recosu/sampling/sampling.py,sha256=2Z3K26_CL-HSRkdLgFwRp-QTLXPYLxYzynDItKPj8Jk,4138
50
+ mgpsogui/util/recosu/sampling/sampling.py,sha256=9Lew9F3m4tzh1PT8EUkxkCbxs0PgfL1w2c49qtxZrXE,4174
51
51
  mgpsogui/util/recosu/sampling/halton/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
52
52
  mgpsogui/util/recosu/sampling/halton/halton.py,sha256=Vqwj3mZWcd6WS4slmIx0aA2O67Z4d6zs9haw79lhse0,1210
53
53
  mgpsogui/util/recosu/sampling/halton/prime.py,sha256=gOWJWdFVthmFAt-8Utk856QlJ3IKxBvg9eDfOJOWdr0,4206
@@ -58,8 +58,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
58
58
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
59
59
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
60
60
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
61
- mg_pso_gui-0.1.139.dist-info/METADATA,sha256=FTwj3NP9LRhXziEEOfUK2GSAhDdvYeDrrwHeBtsFEpk,9460
62
- mg_pso_gui-0.1.139.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
63
- mg_pso_gui-0.1.139.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
64
- mg_pso_gui-0.1.139.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
65
- mg_pso_gui-0.1.139.dist-info/RECORD,,
61
+ mg_pso_gui-0.1.140.dist-info/METADATA,sha256=LDhf585nry7IF4F9BhoO39fb01qP3BW5ixRDEMH0qd4,9460
62
+ mg_pso_gui-0.1.140.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
63
+ mg_pso_gui-0.1.140.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
64
+ mg_pso_gui-0.1.140.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
65
+ mg_pso_gui-0.1.140.dist-info/RECORD,,
@@ -82,18 +82,18 @@ def run_sampler(steps: list[dict[str, any]], args: dict[str, any], count: int, n
82
82
  trace[task.task_id] = (task.parameters, task.result)
83
83
  trace_writer.append_sample(task.task_id, task.parameters, task.result)
84
84
  else:
85
- print("Failed to successfully execute task: {}", task.task_id)
85
+ print("Failed to successfully execute task: {}", task.task_id, flush=True)
86
86
  except asyncio.CancelledError as ce:
87
87
  pass
88
88
  except asyncio.InvalidStateError as ise:
89
89
  pass
90
90
  except Exception as ex:
91
- print(ex)
91
+ print(ex, flush=True)
92
92
 
93
93
  num_finished = num_finished + 1
94
94
  percentage = math.trunc(num_finished / count * 1000) / 10
95
95
  if percentage > last_percentage:
96
96
  last_percentage = percentage
97
- print("{}% Done {}".format(percentage, datetime.datetime.now()))
97
+ print("{}% Done {}".format(percentage, datetime.datetime.now()), flush=True)
98
98
 
99
99
  return trace