mg-pso-gui 0.1.93__py3-none-any.whl → 0.1.95__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.93
3
+ Version: 0.1.95
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
1
1
  mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
2
2
  mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
3
3
  mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
4
- mgpsogui/gui/HomePage.py,sha256=zsYG9qwK82gJ-XnEkK0PFR7md9bU2a306JN1D4Ukskw,24173
4
+ mgpsogui/gui/HomePage.py,sha256=SRkYmHwsdmHNomi_lGhBxc1aE3Yr17xr9sdxlAKbiEQ,24244
5
5
  mgpsogui/gui/OptionManager.py,sha256=H5ofd7PA5f6dVfSghUhKdPiqLHNE0IVpPPzf93k7JD4,12527
6
6
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=KyIoHlMKD9nfQqHeGJwRDA4RCoe4UykjB2l6xMTKK_M,10486
@@ -13,7 +13,7 @@ mgpsogui/gui/SetupTab/BoundsList.py,sha256=L77UEaUJNiUE-ZsYIl44tWRb1zBfxaEQ-bAG1
13
13
  mgpsogui/gui/SetupTab/CalibrationParametersView.py,sha256=ppVBHG3nphku9-P6Z8az-HTpgk8vHxnj-A5m80BZTgA,2784
14
14
  mgpsogui/gui/SetupTab/FunctionsList.py,sha256=tUqW43VWpxFpdo9UHaPvFQ0CtCo9mFI3mri52ikntrE,4092
15
15
  mgpsogui/gui/SetupTab/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUUOK5tGUFVHBf3ck,7352
16
- mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=ItWY0UFQHZ4EGzRXeoyyn4Q_P2GLGy_Ux0THx0ZJSPE,1784
16
+ mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=Z6XuGEVQYa2GlpDe_nxqcXjGoqSaaNkTGKYHzfnsyRg,2003
17
17
  mgpsogui/gui/SetupTab/SetupTab.py,sha256=bqb_kgDaTi0oEOjPNBCbdyHaGvCvMRG6LAZ5DXq89vU,2443
18
18
  mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
19
19
  mgpsogui/gui/SetupTab/StepView.py,sha256=Okmmwpvyu6eu3LO0up8qyUuH8wuQK43kudv1TNNsj8E,5937
@@ -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=xCkt3RSLEsq2BRBiJjfTkWSeGM4oLM1ulT0bjOy_Mkg,3482
36
+ mgpsogui/util/PSORunner.py,sha256=79GCLkyO2AG41uMGskRzA6PAOchDKUkDEheLi3tKDWk,3481
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.93.dist-info/METADATA,sha256=HDRF51ebq6qK3tuSQHRzMlnSGQIM0FCHChbJikCV2vQ,9458
50
- mg_pso_gui-0.1.93.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
- mg_pso_gui-0.1.93.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
- mg_pso_gui-0.1.93.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
- mg_pso_gui-0.1.93.dist-info/RECORD,,
49
+ mg_pso_gui-0.1.95.dist-info/METADATA,sha256=P-Z2Vlr3KoV_aAGwE6TEDRjF2DDLsO2fdCgwyfUFScE,9458
50
+ mg_pso_gui-0.1.95.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
+ mg_pso_gui-0.1.95.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
+ mg_pso_gui-0.1.95.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
+ mg_pso_gui-0.1.95.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -277,6 +277,8 @@ class App(customtkinter.CTk):
277
277
  def refresh_step_view(self, value):
278
278
  self.steps_frame.clear()
279
279
  self.steps_frame.render()
280
+ self.optimal_param_frame.clear()
281
+ self.optimal_param_frame.render()
280
282
 
281
283
  def open_new_window(self):
282
284
  # Shell out and run ./main.py
@@ -27,6 +27,8 @@ class OptimalParameterView(CTkScrollableFrame):
27
27
  self.containerFrame.grid(row=0, column=0, padx=(5, 5), pady=(5, 5), sticky="nsew")
28
28
  self.containerFrame.grid_columnconfigure((0, 1), weight=1)
29
29
 
30
+ self.mode = self.option_manager.get_arguments()['mode'].get()
31
+
30
32
  #CTkLabel(self.containerFrame, text="Name:").grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
31
33
  #CTkLabel(self.containerFrame, text="Value:").grid(row=row, column=1, columnspan=1, padx=5, pady=5, sticky="")
32
34
  #row += 1
@@ -34,9 +36,11 @@ class OptimalParameterView(CTkScrollableFrame):
34
36
  self.steps = self.option_manager.get_steps()
35
37
 
36
38
  for step in self.steps:
37
- name = step['name'].get()
38
- CTkLabel(self.containerFrame, text=name).grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
39
- row += 1
39
+
40
+ if self.mode != "Halton":
41
+ name = step['name'].get()
42
+ CTkLabel(self.containerFrame, text=name).grid(row=row, column=0, columnspan=1, padx=5, pady=5, sticky="")
43
+ row += 1
40
44
 
41
45
  for param in step['param']:
42
46
  CTkEntry(self.containerFrame, textvariable=param['name']).grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="ew")
@@ -44,4 +48,7 @@ class OptimalParameterView(CTkScrollableFrame):
44
48
  bb = CTkEntry(self.containerFrame)
45
49
  bb.grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="ew")
46
50
  bb.configure(textvariable=param['optimal_value'])
47
- row += 1
51
+ row += 1
52
+
53
+ if self.mode == "Halton":
54
+ break
@@ -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
  )