mg-pso-gui 0.1.85__py3-none-any.whl → 0.1.87__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.
- {mg_pso_gui-0.1.85.dist-info → mg_pso_gui-0.1.87.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.85.dist-info → mg_pso_gui-0.1.87.dist-info}/RECORD +6 -6
- mgpsogui/gui/SetupTab/StepView.py +5 -10
- {mg_pso_gui-0.1.85.dist-info → mg_pso_gui-0.1.87.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.1.85.dist-info → mg_pso_gui-0.1.87.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.85.dist-info → mg_pso_gui-0.1.87.dist-info}/top_level.txt +0 -0
|
@@ -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=
|
|
19
|
+
mgpsogui/gui/SetupTab/StepView.py,sha256=dRdTSfNf9P_-_qrQs-Q0rlcNY4xln-x-d-EB27fcXAg,5800
|
|
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.
|
|
50
|
-
mg_pso_gui-0.1.
|
|
51
|
-
mg_pso_gui-0.1.
|
|
52
|
-
mg_pso_gui-0.1.
|
|
53
|
-
mg_pso_gui-0.1.
|
|
49
|
+
mg_pso_gui-0.1.87.dist-info/METADATA,sha256=pWjk6Q8GIA33gasQa6PC1SQJqrpguJyIMyZvapdov5M,9458
|
|
50
|
+
mg_pso_gui-0.1.87.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
51
|
+
mg_pso_gui-0.1.87.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
|
52
|
+
mg_pso_gui-0.1.87.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
|
53
|
+
mg_pso_gui-0.1.87.dist-info/RECORD,,
|
|
@@ -65,15 +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
|
-
tempSteps.append(self.steps[0])
|
|
75
68
|
|
|
76
|
-
for step in
|
|
69
|
+
for step in self.steps:
|
|
77
70
|
|
|
78
71
|
up_image = CTkImage(Image.open(os.path.join("./images", "up.png")), size=(20, 20))
|
|
79
72
|
down_image = CTkImage(Image.open(os.path.join("./images", "down.png")), size=(20, 20))
|
|
@@ -96,9 +89,8 @@ class StepView(CTkScrollableFrame):
|
|
|
96
89
|
|
|
97
90
|
CTkEntry(self.containerFrame, textvariable=step['name'], width=500).grid(row=row, column=0, padx=(20, 20), pady=(20, 20), sticky="nsw")
|
|
98
91
|
#CTkLabel(self.containerFrame, textvariable=step['message']).grid(row=row, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
|
99
|
-
CTkButton(button_container, width=30, text=None, image=expand_image if not step['open'] else collapse_image, command=expand_func).grid(row=0, column=0, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
100
|
-
|
|
101
92
|
if (self.mode == "PSO"):
|
|
93
|
+
CTkButton(button_container, width=30, text=None, image=expand_image if not step['open'] else collapse_image, command=expand_func).grid(row=0, column=0, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
102
94
|
CTkButton(button_container, width=30, text=None, image=up_image, state="disabled" if index==0 else "normal", fg_color="gray" if index==0 else None, command=up_func).grid(row=0, column=1, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
103
95
|
CTkButton(button_container, width=30, text=None, image=down_image, state="disabled" if index==(len(self.steps)-1) else "normal", fg_color="gray" if index==(len(self.steps)-1) else None, command=down_func).grid(row=0, column=2, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
104
96
|
CTkButton(button_container, width=30, text=None, image=trash_image, command=remove_func).grid(row=0, column=3, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
|
@@ -122,6 +114,9 @@ class StepView(CTkScrollableFrame):
|
|
|
122
114
|
|
|
123
115
|
row += 1
|
|
124
116
|
index += 1
|
|
117
|
+
|
|
118
|
+
if (self.mode != "PSO"):
|
|
119
|
+
break
|
|
125
120
|
|
|
126
121
|
# Create an "Add step button that is centered
|
|
127
122
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|