mg-pso-gui 0.2.9__py3-none-any.whl → 0.2.11__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.2.9
3
+ Version: 0.2.11
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -2,10 +2,10 @@ 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
4
  mgpsogui/gui/HomePage.py,sha256=B0uwmD49aiqRZ-hyzv5ZhceG3ymWzFS2CoGsiOuMeX0,21593
5
- mgpsogui/gui/OptionManager.py,sha256=wyLYHr0d2I_wUYugGxDrxbYVYD9aC-SE_7f22Cwdezw,20269
5
+ mgpsogui/gui/OptionManager.py,sha256=j0jyKuqDL_l5N5jd6zdJa02TRYPwkj346qK4WgcK0JA,20072
6
6
  mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
7
7
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- mgpsogui/gui/General/ParameterView.py,sha256=JVZ1uZ7AAFecqLbDwKS59bA0jQ59rghJjBNuN6kRd-8,5011
8
+ mgpsogui/gui/General/ParameterView.py,sha256=G0UW84dsL9O3uOth6SviC1hSoar4vDeq_kyefEuD284,5082
9
9
  mgpsogui/gui/General/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=XVaXjNoH1MBI-587CWigLIT3LGT00yzEAEnXNkzCLrk,10947
11
11
  mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -68,8 +68,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
68
68
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
69
69
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
70
70
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
71
- mg_pso_gui-0.2.9.dist-info/METADATA,sha256=oR2QMZycFPLiCsq9wvZqUDJWxFioUGNGgdtkvYRq4zM,9454
72
- mg_pso_gui-0.2.9.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
73
- mg_pso_gui-0.2.9.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
74
- mg_pso_gui-0.2.9.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
75
- mg_pso_gui-0.2.9.dist-info/RECORD,,
71
+ mg_pso_gui-0.2.11.dist-info/METADATA,sha256=qAaI2fn3HKGGUbdiILl38bqA96aX2WrAMuGZw9ZOeyY,9455
72
+ mg_pso_gui-0.2.11.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
73
+ mg_pso_gui-0.2.11.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
74
+ mg_pso_gui-0.2.11.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
75
+ mg_pso_gui-0.2.11.dist-info/RECORD,,
@@ -22,6 +22,7 @@ class ParameterView(CTkScrollableFrame):
22
22
  self.render()
23
23
 
24
24
  def clear(self):
25
+ self.key_values = self.option_manager.get_list(self.list_name)
25
26
  self.containerFrame.destroy()
26
27
 
27
28
  def toggle_edit_mode(self):
@@ -1,7 +1,4 @@
1
1
  from tkinter import StringVar as sv
2
- from tkinter import IntVar as iv
3
- from tkinter import BooleanVar as bv
4
- from tkinter import DoubleVar as dv
5
2
  import json
6
3
  import os
7
4
 
@@ -133,7 +130,7 @@ class OptionManager():
133
130
  "override_parameter": [],
134
131
  "objective_functions": [],
135
132
  "name": sv(),
136
- "open": False}
133
+ "open": True}
137
134
  obj["name"].set("Group " + str(len(self._data[self._mode_sv.get()]["steps"]) + 1))
138
135
 
139
136
  if "parameter_objects" in step:
@@ -232,8 +229,6 @@ class OptionManager():
232
229
  obj["data"][0].set("")
233
230
  obj["data"][1].set("")
234
231
  obj["custom_function"].set("")
235
- obj["custom_function_goal"].set("")
236
- obj["custom_function_value"].set("")
237
232
 
238
233
  self._data[self._mode_sv.get()]["steps"][step_index]["objective_functions"].append(obj)
239
234