mg-pso-gui 0.2.61__py3-none-any.whl → 0.2.62__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.61
3
+ Version: 0.2.62
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -13,7 +13,7 @@ mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_o
13
13
  mgpsogui/gui/RunTab/RunTab.py,sha256=47_r8K-e7f8zs93_2iPYnNBzHDHZejtedk7iSElkubU,5608
14
14
  mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=U64oaiDIOaimjbqKMz5rQNq2o1SrQtrRHDdTYQ9ux1s,2870
16
- mgpsogui/gui/SetupTab/BoundsList.py,sha256=1pjSiIadZs2BX-EvBCCjMCTBh-g7Y9oZE6VPI-3bEP0,12383
16
+ mgpsogui/gui/SetupTab/BoundsList.py,sha256=7MCAiiPmhkcPQwDNMws12DezkwQhFc9WI54B7tE4wyk,12859
17
17
  mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py,sha256=yx0dHSNa7fGy99Q6qFcI6j9r8p0DlV3iOBgyPMGd8pM,2884
18
18
  mgpsogui/gui/SetupTab/CustomFunctionMetrics.py,sha256=vOJpElbTgz043m6JYwe9xz_2MBHg985S6KdbJkJERW4,5923
19
19
  mgpsogui/gui/SetupTab/FunctionsList.py,sha256=ntbIUs8q2Tm3KfBLleT7uL0gynwYuVycwvXv8vude3c,6611
@@ -69,8 +69,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
69
69
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
70
70
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
71
71
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
72
- mg_pso_gui-0.2.61.dist-info/METADATA,sha256=L-e4tw40rVn3X6T8LBHcYx9WrwLicH-qrBKCwKrmuP8,9455
73
- mg_pso_gui-0.2.61.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
74
- mg_pso_gui-0.2.61.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
75
- mg_pso_gui-0.2.61.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
76
- mg_pso_gui-0.2.61.dist-info/RECORD,,
72
+ mg_pso_gui-0.2.62.dist-info/METADATA,sha256=-IyPo9J96xnIAJbA0K3bDomX0N8V_mwGbT2okuOhBt0,9455
73
+ mg_pso_gui-0.2.62.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
74
+ mg_pso_gui-0.2.62.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
75
+ mg_pso_gui-0.2.62.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
76
+ mg_pso_gui-0.2.62.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.2)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -62,6 +62,8 @@ class BoundsList(CTkFrame):
62
62
  index = 0
63
63
 
64
64
  self.tooltip_list = []
65
+
66
+ mode = self.option_manager.get_mode()
65
67
 
66
68
  self.containerFrame = CTkFrame(self, fg_color="transparent")
67
69
  self.containerFrame.grid(row=0, column=0, padx=(5, 5), pady=(5, 5), sticky="nsew")
@@ -71,9 +73,13 @@ class BoundsList(CTkFrame):
71
73
 
72
74
  CTkLabel(self.containerFrame, text="Type:").grid(row=row, column=0, padx=(5, 5), pady=(5, 5), sticky="nsew")
73
75
  CTkLabel(self.containerFrame, text="Name:").grid(row=row, column=1, padx=(5, 5), pady=(5, 5), sticky="nsew")
74
- CTkLabel(self.containerFrame, text="Bounds:").grid(row=row, column=2, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="nsew")
75
- CTkLabel(self.containerFrame, text="Default:").grid(row=row, column=4, padx=(5, 5), pady=(5, 5), sticky="nsew")
76
- CTkLabel(self.containerFrame, text="Strategy:").grid(row=row, column=5, padx=(5, 5), pady=(5, 5), sticky="nsew")
76
+
77
+ if mode != "Sensitivity Analysis":
78
+ CTkLabel(self.containerFrame, text="Bounds:").grid(row=row, column=2, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="nsew")
79
+
80
+ if mode == "Optimization":
81
+ CTkLabel(self.containerFrame, text="Default:").grid(row=row, column=4, padx=(5, 5), pady=(5, 5), sticky="nsew")
82
+ CTkLabel(self.containerFrame, text="Strategy:").grid(row=row, column=5, padx=(5, 5), pady=(5, 5), sticky="nsew")
77
83
  row += 1
78
84
 
79
85
  bounds = self.option_manager.get_steps()[self.step_index]["parameter_objects"]
@@ -112,6 +118,12 @@ class BoundsList(CTkFrame):
112
118
  bb.grid(row=row, column=2, padx=(5, 5), pady=(5, 5), sticky="new")
113
119
  ctt(bb, delay=0.1, alpha=0.95, message="Delete this bound...")
114
120
  else:
121
+
122
+ if mode == "Sensitivity Analysis":
123
+ row += 1
124
+ index += 1
125
+ continue
126
+
115
127
  bounds_min = CTkEntry(self.containerFrame)
116
128
  vcmd = (self.register(self.validate_number), '%P', cc, bounds_min)
117
129
  bounds_min.grid(row=row, column=2, padx=(5, 5), pady=(5, 5), sticky="new")
@@ -125,6 +137,11 @@ class BoundsList(CTkFrame):
125
137
  self.validate_number(bounds_max.get(), cc, bounds_max)
126
138
  tt2 = ctt(bounds_max, delay=0.1, alpha=0.95, message="...")
127
139
 
140
+ if mode == "Sampling: Random" or mode == "Sampling: Halton":
141
+ row += 1
142
+ index += 1
143
+ continue
144
+
128
145
  default_value = CTkEntry(self.containerFrame)
129
146
  default_value.grid(row=row, column=4, padx=(5, 5), pady=(5, 5), sticky="new")
130
147
  default_value.configure(textvariable=bound["default_value"])