mg-pso-gui 0.2.60__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.
- {mg_pso_gui-0.2.60.dist-info → mg_pso_gui-0.2.62.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.60.dist-info → mg_pso_gui-0.2.62.dist-info}/RECORD +7 -7
- {mg_pso_gui-0.2.60.dist-info → mg_pso_gui-0.2.62.dist-info}/WHEEL +1 -1
- mgpsogui/gui/RunTab/RunTab.py +5 -5
- mgpsogui/gui/SetupTab/BoundsList.py +20 -3
- {mg_pso_gui-0.2.60.dist-info → mg_pso_gui-0.2.62.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.60.dist-info → mg_pso_gui-0.2.62.dist-info}/top_level.txt +0 -0
@@ -10,10 +10,10 @@ mgpsogui/gui/General/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
|
|
10
10
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=XVaXjNoH1MBI-587CWigLIT3LGT00yzEAEnXNkzCLrk,10947
|
11
11
|
mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
12
12
|
mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_ozzJhyBkL08fJzI,1752
|
13
|
-
mgpsogui/gui/RunTab/RunTab.py,sha256=
|
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=
|
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.
|
73
|
-
mg_pso_gui-0.2.
|
74
|
-
mg_pso_gui-0.2.
|
75
|
-
mg_pso_gui-0.2.
|
76
|
-
mg_pso_gui-0.2.
|
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,,
|
mgpsogui/gui/RunTab/RunTab.py
CHANGED
@@ -89,14 +89,14 @@ def create_tab(self, tab):
|
|
89
89
|
else:
|
90
90
|
subprocess.Popen(["xdg-open", folder])
|
91
91
|
|
92
|
-
self.analysis_copy = customtkinter.CTkButton(self.project_editor, text="From Sensitivity Analysis", command=copy_sense)
|
93
|
-
self.analysis_copy.grid(row=1, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
94
|
-
|
95
92
|
self.halton_copy = customtkinter.CTkButton(self.project_editor, text="From Sampling: Halton", command=copy_halton)
|
96
|
-
self.halton_copy.grid(row=
|
93
|
+
self.halton_copy.grid(row=1, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
97
94
|
|
98
95
|
self.random_copy = customtkinter.CTkButton(self.project_editor, text="From Sampling: Random", command=copy_random)
|
99
|
-
self.random_copy.grid(row=
|
96
|
+
self.random_copy.grid(row=2, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
97
|
+
|
98
|
+
self.analysis_copy = customtkinter.CTkButton(self.project_editor, text="From Sensitivity Analysis", command=copy_sense)
|
99
|
+
self.analysis_copy.grid(row=3, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
100
100
|
|
101
101
|
self.optimization_copy = customtkinter.CTkButton(self.project_editor, text="From Optimization", command=copy_optim)
|
102
102
|
self.optimization_copy.grid(row=4, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
@@ -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
|
-
|
75
|
-
|
76
|
-
|
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"])
|
File without changes
|
File without changes
|