mg-pso-gui 0.1.86__py3-none-any.whl → 0.1.88__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.86
3
+ Version: 0.1.88
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -16,7 +16,7 @@ mgpsogui/gui/SetupTab/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUU
16
16
  mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=ItWY0UFQHZ4EGzRXeoyyn4Q_P2GLGy_Ux0THx0ZJSPE,1784
17
17
  mgpsogui/gui/SetupTab/SetupTab.py,sha256=bqb_kgDaTi0oEOjPNBCbdyHaGvCvMRG6LAZ5DXq89vU,2443
18
18
  mgpsogui/gui/SetupTab/StaticParameterView.py,sha256=iEG-UpBBlAJabZo3MG768oLqOROjUPc23tKOSd47IUc,2739
19
- mgpsogui/gui/SetupTab/StepView.py,sha256=npZOmH9Q9aLWLk8W8dSbkzOEd1rTcVEL3cMehBaCEVQ,6027
19
+ mgpsogui/gui/SetupTab/StepView.py,sha256=xUmsOtidj35sxH7Yv056xWUobrdpjaSAhvlilcRXmC8,5826
20
20
  mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  mgpsogui/gui/VisualizeTab/SideBar.py,sha256=TpTY4iFG5TzPMIjxfxREgAxLHvxma3Ihtq_EavWhZq8,13322
22
22
  mgpsogui/gui/VisualizeTab/VisualizeTab.py,sha256=y3ZjLR78yXjHTcHMpB637ipBKxb1CCEM3qzG8OUJvpQ,3477
@@ -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.86.dist-info/METADATA,sha256=rn46YdpWAHhEjBSZF39Yaw7vEPZzughJhdqB_HXZ-xs,9458
50
- mg_pso_gui-0.1.86.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
- mg_pso_gui-0.1.86.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
- mg_pso_gui-0.1.86.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
- mg_pso_gui-0.1.86.dist-info/RECORD,,
49
+ mg_pso_gui-0.1.88.dist-info/METADATA,sha256=FhLSYYmhTrLoez32AyqnVcKzS0RMagT_Ibu5CqgJOJ8,9458
50
+ mg_pso_gui-0.1.88.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
51
+ mg_pso_gui-0.1.88.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
52
+ mg_pso_gui-0.1.88.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
53
+ mg_pso_gui-0.1.88.dist-info/RECORD,,
@@ -65,17 +65,8 @@ class StepView(CTkScrollableFrame):
65
65
 
66
66
  self.steps = self.option_manager.get_steps()
67
67
  self.mode = self.option_manager.get_arguments()['mode'].get()
68
-
69
- tempSteps = self.steps
70
- if self.mode == "Halton":
71
- # Collapse all steps
72
- tempSteps = []
73
- if len(self.steps) > 0:
74
- tempStep = self.steps[0]
75
- tempStep['open'] = True
76
- tempSteps.append(self.steps[0])
77
68
 
78
- for step in tempSteps:
69
+ for step in self.steps:
79
70
 
80
71
  up_image = CTkImage(Image.open(os.path.join("./images", "up.png")), size=(20, 20))
81
72
  down_image = CTkImage(Image.open(os.path.join("./images", "down.png")), size=(20, 20))
@@ -106,7 +97,7 @@ class StepView(CTkScrollableFrame):
106
97
 
107
98
  row += 1
108
99
 
109
- if step['open']:
100
+ if step['open'] and self.mode == "Halton":
110
101
  bounds = BoundsList.BoundsList(
111
102
  self.containerFrame, option_manager=self.option_manager, step_index=index)
112
103
  bounds.grid(row=row, column=0, padx=(10, 10),
@@ -123,6 +114,9 @@ class StepView(CTkScrollableFrame):
123
114
 
124
115
  row += 1
125
116
  index += 1
117
+
118
+ if (self.mode != "PSO"):
119
+ break
126
120
 
127
121
  # Create an "Add step button that is centered
128
122