mg-pso-gui 0.1.183__py3-none-any.whl → 0.1.184__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.183.dist-info → mg_pso_gui-0.1.184.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.1.183.dist-info → mg_pso_gui-0.1.184.dist-info}/RECORD +7 -7
- {mg_pso_gui-0.1.183.dist-info → mg_pso_gui-0.1.184.dist-info}/WHEEL +1 -1
- mgpsogui/gui/OptionManager.py +4 -1
- mgpsogui/gui/SetupTab/StepView.py +17 -4
- {mg_pso_gui-0.1.183.dist-info → mg_pso_gui-0.1.184.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.1.183.dist-info → mg_pso_gui-0.1.184.dist-info}/top_level.txt +0 -0
@@ -2,7 +2,7 @@ mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
|
|
2
2
|
mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
|
3
3
|
mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
|
4
4
|
mgpsogui/gui/HomePage.py,sha256=S4vm9gtwoWjfbNmFSX5e-_l18ti0YIFulrH9a3v953s,22845
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=FVj3HIDeoPgr8rn1XZs1-erYxwP572kOHHjEGNSda6M,13391
|
6
6
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=q8x_tvVgSoyGINuQbivXRThF3gaSSfg8X_dsLSPv4F0,10492
|
8
8
|
mgpsogui/gui/PlatformTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -16,7 +16,7 @@ mgpsogui/gui/SetupTab/ListParametersView.py,sha256=wYcDcaooYkw-y7XW6dJUwhTWxLuUU
|
|
16
16
|
mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=VKn-4BlVyqspFIOkbWsM0q9pYVsmqnSND0xP2hDKb60,1785
|
17
17
|
mgpsogui/gui/SetupTab/SetupTab.py,sha256=8f_xqmMaD8grmSKFFUHm8zIGEDrSUzU_sNW6CdRLrrE,2436
|
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=w4r79SNvfd6DLRZpHj3T4ma00Cm5py-4mhjLOJyH4dQ,6605
|
20
20
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
21
21
|
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256=-nwVw4FizlbVZdnM7r8-bexowF_qUtoeQ0Mu0mZijFQ,2851
|
22
22
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=342SridpIqL6LBRE2rDAoUQqbMYCBCiSL3xNo3iPzz8,21936
|
@@ -59,8 +59,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
|
|
59
59
|
mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
|
60
60
|
mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
|
61
61
|
mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
|
62
|
-
mg_pso_gui-0.1.
|
63
|
-
mg_pso_gui-0.1.
|
64
|
-
mg_pso_gui-0.1.
|
65
|
-
mg_pso_gui-0.1.
|
66
|
-
mg_pso_gui-0.1.
|
62
|
+
mg_pso_gui-0.1.184.dist-info/METADATA,sha256=YZ_W2GhNu74KtAsfWu5wf7VjmLxkeZD3nnjlhc9pjQ4,9456
|
63
|
+
mg_pso_gui-0.1.184.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
64
|
+
mg_pso_gui-0.1.184.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
65
|
+
mg_pso_gui-0.1.184.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
66
|
+
mg_pso_gui-0.1.184.dist-info/RECORD,,
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -42,7 +42,7 @@ class OptionManager():
|
|
42
42
|
self.arguments["mode"].set(arguments["mode"])
|
43
43
|
|
44
44
|
if ("url" in arguments):
|
45
|
-
self.arguments["
|
45
|
+
self.arguments["urls"][self.arguments["mode"].get()].set(arguments["url"])
|
46
46
|
|
47
47
|
if ("files" in arguments):
|
48
48
|
for file in arguments["files"]:
|
@@ -258,6 +258,9 @@ class OptionManager():
|
|
258
258
|
return self.service_parameters
|
259
259
|
|
260
260
|
def get_metrics(self):
|
261
|
+
|
262
|
+
self.arguments["url"].set(self.arguments["urls"][self.arguments["mode"].get()].get())
|
263
|
+
|
261
264
|
result = {}
|
262
265
|
result['arguments'] = {}
|
263
266
|
result['calibration_parameters'] = []
|
@@ -19,7 +19,9 @@ class StepView(CTkScrollableFrame):
|
|
19
19
|
super().__init__(*args, **kwargs)
|
20
20
|
|
21
21
|
self.option_manager = option_manager
|
22
|
-
|
22
|
+
self.analysisFrame = None
|
23
|
+
self.containerFrame = None
|
24
|
+
|
23
25
|
self.render()
|
24
26
|
|
25
27
|
def refresh(self):
|
@@ -27,7 +29,11 @@ class StepView(CTkScrollableFrame):
|
|
27
29
|
self.render()
|
28
30
|
|
29
31
|
def clear(self):
|
30
|
-
self.containerFrame
|
32
|
+
if self.containerFrame != None:
|
33
|
+
self.containerFrame.destroy()
|
34
|
+
|
35
|
+
if self.analysisFrame != None:
|
36
|
+
self.analysisFrame.destroy()
|
31
37
|
|
32
38
|
def create_new_step(self):
|
33
39
|
|
@@ -91,7 +97,6 @@ class StepView(CTkScrollableFrame):
|
|
91
97
|
button_container.grid_columnconfigure(0, weight=1)
|
92
98
|
|
93
99
|
CTkEntry(self.containerFrame, textvariable=step['name'], width=500).grid(row=row, column=0, padx=(20, 20), pady=(20, 20), sticky="nsw")
|
94
|
-
#CTkLabel(self.containerFrame, textvariable=step['message']).grid(row=row, column=1, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
95
100
|
|
96
101
|
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")
|
97
102
|
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")
|
@@ -122,7 +127,15 @@ class StepView(CTkScrollableFrame):
|
|
122
127
|
break
|
123
128
|
|
124
129
|
# Create an "Add step button that is centered
|
125
|
-
|
126
130
|
if (self.mode == "Optimization: MG-PSO" or len(self.steps) == 0):
|
127
131
|
CTkButton(self.containerFrame, text="Add Group", command=self.create_new_step).grid(
|
128
132
|
row=row, columnspan=2, column=0, padx=(10, 10), pady=(10, 10), sticky="ew")
|
133
|
+
|
134
|
+
if (self.mode == "Sensitivity Analysis"):
|
135
|
+
self.analysisFrame = CTkFrame(self)
|
136
|
+
self.analysisFrame.grid(row=0, column=0, padx=(
|
137
|
+
10, 10), pady=(10, 10), sticky="nsew")
|
138
|
+
self.analysisFrame.grid_columnconfigure((0, 1, 2), weight=1)
|
139
|
+
CTkLabel(self.analysisFrame, text="Col 1").grid(row=0, column=0, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
140
|
+
CTkLabel(self.analysisFrame, text="Col 2").grid(row=0, column=1, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
141
|
+
CTkLabel(self.analysisFrame, text="Col 3").grid(row=0, column=2, padx=(10, 10), pady=(10, 10), sticky="nsew")
|
File without changes
|
File without changes
|