mg-pso-gui 0.1.103__py3-none-any.whl → 0.1.105__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.103
3
+ Version: 0.1.105
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -33,9 +33,9 @@ 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=4ZaHCyUi11d_k0xNhawwrpJK57ukYZ6czKIyJUje9xM,3385
36
+ mgpsogui/util/PSORunner.py,sha256=xximtpisXKtXWtjlT9jTdOjPZNCfnWXC7xuAi_etuC8,3535
37
37
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
- mgpsogui/util/debug.py,sha256=_q_tQDLBDLWblJ5PgejCSzy09u_54jnNBrqlc92ccIk,4589
38
+ mgpsogui/util/debug.py,sha256=R-OBdE7XH5ejfDGoOHIgKr-TomzFy-jPvUhVzhSbzm0,5159
39
39
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
40
40
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
41
41
  mgpsogui/util/recosu/__init__.py,sha256=T7_iigIlowGbPOHLO3hwihjw2kbwIg6olOMhFhNiL38,236
@@ -47,8 +47,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
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.103.dist-info/METADATA,sha256=4WlOwEOZRJfpafvAG6L8CiD84LweT2ASpYCcHNR0CyU,9459
51
- mg_pso_gui-0.1.103.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
52
- mg_pso_gui-0.1.103.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
53
- mg_pso_gui-0.1.103.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
54
- mg_pso_gui-0.1.103.dist-info/RECORD,,
50
+ mg_pso_gui-0.1.105.dist-info/METADATA,sha256=6kcBI7vTwloOCt624BVdlbK-xUN70Bd5WLqfX0x5dKQ,9459
51
+ mg_pso_gui-0.1.105.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
52
+ mg_pso_gui-0.1.105.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
53
+ mg_pso_gui-0.1.105.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
54
+ mg_pso_gui-0.1.105.dist-info/RECORD,,
@@ -19,6 +19,10 @@ def run_process(stdout_queue, stderr_queue, results_queue, cosu_queue, data, fol
19
19
  args = data['arguments']
20
20
  calib = data['calibration_parameters']
21
21
 
22
+ # If "mode" in args remove it
23
+ if "mode" in args:
24
+ del args["mode"]
25
+
22
26
  calibration_map = {}
23
27
  for param in calib:
24
28
  param_name = param['name']
@@ -66,7 +70,8 @@ def run_process(stdout_queue, stderr_queue, results_queue, cosu_queue, data, fol
66
70
  'async_call': True if calibration_map['async_call'] == "True" else False,
67
71
  'http_conn_timeout': int(calibration_map['conn_timeout']),
68
72
  'http_read_timeout': int(calibration_map['read_timeout']),
69
- 'particles_fail': int(calibration_map['particles_fail'])
73
+ 'particles_fail': int(calibration_map['particles_fail']),
74
+ 'step_trace': os.path.join(folder, 'step_trace.json')
70
75
  }
71
76
 
72
77
  print("\n")
mgpsogui/util/debug.py CHANGED
@@ -98,6 +98,8 @@ args = {
98
98
  'files': {}
99
99
  }
100
100
 
101
+ args = {'param': [{'name': 'startTime', 'value': '2002-01-01'}, {'name': 'endTime', 'value': '2006-12-31'}, {'name': 'dataStartTime', 'value': '2002-01-01'}, {'name': 'dataEndTime', 'value': '2006-12-31'}, {'name': 'cal_startTime', 'value': '2003-01-01'}, {'name': 'cal_endTime', 'value': '2006-12-31'}, {'name': 'parallelismThreads', 'value': '2'}, {'name': 'flagLoadState', 'value': 'True'}, {'name': 'payload', 'value': 'false'}, {'name': 'project', 'value': 'SFIR3'}], 'url': 'http://csip.engr.colostate.edu:8087/csip-oms/m/ages/0.3.0', 'mode': 'PSO', 'files': {}}
102
+
101
103
  # 3. perform optimization
102
104
  optimizer, trace = global_best(steps, # step definition
103
105
  rounds=(1, 2), # min/max number of rounds