mg-pso-gui 0.2.127__py3-none-any.whl → 0.2.128__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.127
3
+ Version: 0.2.128
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -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=7Xx8If4J19sfJSinI_95rCp2o4vuh_clwfAIcRA-3gM,15827
17
+ mgpsogui/gui/SetupTab/BoundsList.py,sha256=8yNV0p5tQY9YiSOTifIZn2Yhp3YtmwL4nSrNPdxjexY,16651
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.127.dist-info/METADATA,sha256=CKrIBp-9Wkp8fyOPmG0KADmYCL5jRNH3OBKdhit0Rl8,9542
80
- mg_pso_gui-0.2.127.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
81
- mg_pso_gui-0.2.127.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
82
- mg_pso_gui-0.2.127.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
83
- mg_pso_gui-0.2.127.dist-info/RECORD,,
79
+ mg_pso_gui-0.2.128.dist-info/METADATA,sha256=RkvQhHnxpzqnXLmStczjLKtswOiQtnSe3aNb0RCG0dQ,9542
80
+ mg_pso_gui-0.2.128.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
81
+ mg_pso_gui-0.2.128.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
82
+ mg_pso_gui-0.2.128.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
83
+ mg_pso_gui-0.2.128.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
@@ -202,6 +203,14 @@ class BoundsList(CTkFrame):
202
203
  expand_image = CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
203
204
  button = CTkButton(self.containerFrame, width=30, text=None, image=expand_image, command=open_window)
204
205
  button.grid(row=row, column=6, padx=(5, 5), pady=(5, 5), sticky="new")
206
+ elif (bound_type == "list" and (mode == "Sampling: Random" or mode == "Sampling: Halton")):
207
+ def button_click_event_sampling(bound_index):
208
+ SNLW(title="Edit List Bound", step_index=self.step_index, bound_index=bound_index, option_manager=self.option_manager)
209
+
210
+ open_window = lambda event=None, bound_index=index: (button_click_event_sampling(bound_index))
211
+ expand_image = CTkImage(Image.open(os.path.join("./images", "expand.png")), size=(20, 20))
212
+ button = CTkButton(self.containerFrame, width=30, text=None, image=expand_image, command=open_window)
213
+ button.grid(row=row, column=6, padx=(5, 5), pady=(5, 5), sticky="new")
205
214
 
206
215
  tt1 = ctt(bounds_min, delay=0.1, alpha=0.95, message="...")
207
216
  tt2 = ctt(bounds_max, delay=0.1, alpha=0.95, message="...")