mg-pso-gui 0.2.127__py3-none-any.whl → 0.2.129__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.2.127.dist-info → mg_pso_gui-0.2.129.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.127.dist-info → mg_pso_gui-0.2.129.dist-info}/RECORD +6 -6
- mgpsogui/gui/SetupTab/BoundsList.py +16 -5
- {mg_pso_gui-0.2.127.dist-info → mg_pso_gui-0.2.129.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.127.dist-info → mg_pso_gui-0.2.129.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.127.dist-info → mg_pso_gui-0.2.129.dist-info}/top_level.txt +0 -0
@@ -14,7 +14,7 @@ mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_o
|
|
14
14
|
mgpsogui/gui/RunTab/RunTab.py,sha256=_JWzDx5LT_uISw0Vnv-W2ypIeuKgoWqBnvFnvrLhNQA,5917
|
15
15
|
mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=7Vic6AkBI2FStMlYyPH0-dNJJyqEckYJpwxknAqtp84,3403
|
17
|
-
mgpsogui/gui/SetupTab/BoundsList.py,sha256
|
17
|
+
mgpsogui/gui/SetupTab/BoundsList.py,sha256=-GFsmebS3SZrNy6WJgqOs9Cip5qUTvfBvGfV0-gr79M,16747
|
18
18
|
mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py,sha256=lZ9a20YucwhCDiUN3eGA6WXQK7laToB7FP4Zev4Zxnc,3417
|
19
19
|
mgpsogui/gui/SetupTab/CustomFunctionMetrics.py,sha256=vOJpElbTgz043m6JYwe9xz_2MBHg985S6KdbJkJERW4,5923
|
20
20
|
mgpsogui/gui/SetupTab/FunctionsList.py,sha256=wmYmppyB5y8QADe3X_FQ5mAYVDC0HAPQgqtkegNwmLA,7007
|
@@ -76,8 +76,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
76
76
|
mgpsogui/util/recosu/utils/utils.py,sha256=6MIoJb0nhIa4tNv7qhBfZi-AtL3L95CgJf6eAf12NQs,4140
|
77
77
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
78
78
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
79
|
-
mg_pso_gui-0.2.
|
80
|
-
mg_pso_gui-0.2.
|
81
|
-
mg_pso_gui-0.2.
|
82
|
-
mg_pso_gui-0.2.
|
83
|
-
mg_pso_gui-0.2.
|
79
|
+
mg_pso_gui-0.2.129.dist-info/METADATA,sha256=yisf4co6gpbuXondI4MYSH4vI-qDsRn6-zYwCnt4Tpo,9542
|
80
|
+
mg_pso_gui-0.2.129.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
81
|
+
mg_pso_gui-0.2.129.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
82
|
+
mg_pso_gui-0.2.129.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
83
|
+
mg_pso_gui-0.2.129.dist-info/RECORD,,
|
@@ -7,6 +7,7 @@ from customtkinter import CTkOptionMenu
|
|
7
7
|
from customtkinter import CTkTextbox
|
8
8
|
from customtkinter import CTkImage
|
9
9
|
from .BoundsEditorWindow import BoundsEditorWindow as BEW
|
10
|
+
from .SamplingNameListWindow import SamplingNameListWindow as SNLW
|
10
11
|
from ...util.CTkToolTip import CTkToolTip as ctt
|
11
12
|
import tkinter as tk
|
12
13
|
import json
|
@@ -172,7 +173,7 @@ class BoundsList(CTkFrame):
|
|
172
173
|
self.validate_number(bounds_max.get(), cc, bounds_max)
|
173
174
|
tt2 = ctt(bounds_max, delay=0.1, alpha=0.95, message="...")
|
174
175
|
|
175
|
-
if mode == "Sampling: Random" or mode == "Sampling: Halton":
|
176
|
+
"""if mode == "Sampling: Random" or mode == "Sampling: Halton":
|
176
177
|
|
177
178
|
tt1 = ctt(bounds_min, delay=0.1, alpha=0.95, message="...")
|
178
179
|
tt2 = ctt(bounds_max, delay=0.1, alpha=0.95, message="...")
|
@@ -186,10 +187,12 @@ class BoundsList(CTkFrame):
|
|
186
187
|
row += 1
|
187
188
|
index += 1
|
188
189
|
continue
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
190
|
+
"""
|
191
|
+
|
192
|
+
if (mode == "Optimization"):
|
193
|
+
default_value = CTkEntry(self.containerFrame)
|
194
|
+
default_value.grid(row=row, column=4, padx=(5, 5), pady=(5, 5), sticky="new")
|
195
|
+
default_value.configure(textvariable=bound["default_value"])
|
193
196
|
|
194
197
|
if (bound_type == "list" and mode == "Optimization"):
|
195
198
|
calibration_strat = CTkOptionMenu(self.containerFrame, dynamic_resizing=False, values=['none', 'mean', 'single'], variable=bound["calibration_strategy"])
|
@@ -202,6 +205,14 @@ class BoundsList(CTkFrame):
|
|
202
205
|
expand_image = CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
|
203
206
|
button = CTkButton(self.containerFrame, width=30, text=None, image=expand_image, command=open_window)
|
204
207
|
button.grid(row=row, column=6, padx=(5, 5), pady=(5, 5), sticky="new")
|
208
|
+
elif (bound_type == "list" and (mode == "Sampling: Random" or mode == "Sampling: Halton")):
|
209
|
+
def button_click_event_sampling(bound_index):
|
210
|
+
SNLW(title="Edit List Bound", step_index=self.step_index, bound_index=bound_index, option_manager=self.option_manager)
|
211
|
+
|
212
|
+
open_window = lambda event=None, bound_index=index: (button_click_event_sampling(bound_index))
|
213
|
+
expand_image = CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
|
214
|
+
button = CTkButton(self.containerFrame, width=30, text=None, image=expand_image, command=open_window)
|
215
|
+
button.grid(row=row, column=6, padx=(5, 5), pady=(5, 5), sticky="new")
|
205
216
|
|
206
217
|
tt1 = ctt(bounds_min, delay=0.1, alpha=0.95, message="...")
|
207
218
|
tt2 = ctt(bounds_max, delay=0.1, alpha=0.95, message="...")
|
File without changes
|
File without changes
|
File without changes
|