mg-pso-gui 0.1.81__py3-none-any.whl → 0.1.82__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.81
3
+ Version: 0.1.82
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -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=qJu8xHojwNZDLamJLw41_Xg2Mp42SUO_cvGb4pia1hw,4637
36
+ mgpsogui/util/PSORunner.py,sha256=xCkt3RSLEsq2BRBiJjfTkWSeGM4oLM1ulT0bjOy_Mkg,3482
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.81.dist-info/METADATA,sha256=4zcVumsKwEallaAku6JFQpI5AQFjHDeTJXtENCy_VQE,9458
50
- mg_pso_gui-0.1.81.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
- mg_pso_gui-0.1.81.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
- mg_pso_gui-0.1.81.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
- mg_pso_gui-0.1.81.dist-info/RECORD,,
49
+ mg_pso_gui-0.1.82.dist-info/METADATA,sha256=oY5f-5YqvAvTytMXhPiNF5IbY0eqyxsE_2LHyd12kXI,9458
50
+ mg_pso_gui-0.1.82.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
+ mg_pso_gui-0.1.82.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
+ mg_pso_gui-0.1.82.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
+ mg_pso_gui-0.1.82.dist-info/RECORD,,
@@ -87,8 +87,8 @@ 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']),
91
- 'step_trace': os.path.join(folder, 'trace.json')
90
+ 'particles_fail': int(calibration_map['particles_fail'])
91
+ #,'step_trace': os.path.join(folder, 'trace.json')
92
92
  },
93
93
  result_queue = cosu_queue
94
94
  )
@@ -103,45 +103,4 @@ def run_process(stdout_queue, stderr_queue, results_queue, cosu_queue, data, fol
103
103
  stderr_thread.join()
104
104
 
105
105
  sys.stdout = old_stdout
106
- sys.stderr = old_stderr
107
-
108
- """
109
- def get_results():
110
- request: Client = Client()
111
- for name, value in parameters.items():
112
- # if parameter name has a / in it assume that is a file based parameter and therefore value needs to be an array
113
- if "/" in name and type(value) is not list:
114
- request.add_data(name, [value])
115
- else:
116
- request.add_data(name, value)
117
-
118
- conf = {
119
- 'service_timeout': 60.0 # (sec)
120
- }
121
- files: List[str] = [] #optional list of filenames
122
-
123
- #Synchronous Call
124
- result: Client = request.execute(CSIP_ENDPOINT, files=files, sync=True, conf=conf)
125
-
126
- #Asynchronous Call
127
- tsamp: float = 0
128
- def callback(c: Client, progress: str):
129
- tsamp2: float = time.time()
130
- print('Halton Update {} - {} - {}'.format(halton_id, c.get_status(), tsamp2 - tsamp))
131
-
132
-
133
- tsamp = time.time()
134
- result: Client = request.execute_async(
135
- CSIP_ENDPOINT,
136
- files=files,
137
- callback=callback,
138
- first_poll=poll_time,
139
- next_poll=poll_time,
140
- conf=conf
141
- )
142
- # After recieving response
143
- if result.is_finished():
144
- print(result)
145
- else:
146
- print(result)
147
- """
106
+ sys.stderr = old_stderr