mg-pso-gui 0.2.23__py3-none-any.whl → 0.2.25__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.23.dist-info → mg_pso_gui-0.2.25.dist-info}/METADATA +1 -1
- {mg_pso_gui-0.2.23.dist-info → mg_pso_gui-0.2.25.dist-info}/RECORD +7 -7
- mgpsogui/gui/OptionManager.py +11 -11
- mgpsogui/gui/SetupTab/StepView.py +6 -6
- {mg_pso_gui-0.2.23.dist-info → mg_pso_gui-0.2.25.dist-info}/WHEEL +0 -0
- {mg_pso_gui-0.2.23.dist-info → mg_pso_gui-0.2.25.dist-info}/entry_points.txt +0 -0
- {mg_pso_gui-0.2.23.dist-info → mg_pso_gui-0.2.25.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=CBUdasHxGXnI2fL-sE1IPNO4hVi8zR1rTs31z1VmvMQ,21381
|
5
|
-
mgpsogui/gui/OptionManager.py,sha256=
|
5
|
+
mgpsogui/gui/OptionManager.py,sha256=riRYTgylVa07yITD1xea5MjCcCt7Fpa8uhJH2SUTd4w,21676
|
6
6
|
mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
|
7
7
|
mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
8
8
|
mgpsogui/gui/General/ParameterView.py,sha256=ylnzYk9qTN31w_6LW4Iq3536CjfWswEqbE95M_SF8P4,5657
|
@@ -22,7 +22,7 @@ mgpsogui/gui/SetupTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp
|
|
22
22
|
mgpsogui/gui/SetupTab/OverrideParameterMetrics.py,sha256=QFSwLRLHwbqyO8gPOzIQ8nhFUktFipKj_aM9QoP0QT0,3372
|
23
23
|
mgpsogui/gui/SetupTab/OverrideParameterWindow.py,sha256=UpZDxTaFxee0BeviUYXeiIlMNYNy00qz3zlMlM5VcXE,1291
|
24
24
|
mgpsogui/gui/SetupTab/SetupTab.py,sha256=uvz604wAgazX9P8naqX9eq-6xwaA8lq-cYTy8lHXkv0,2805
|
25
|
-
mgpsogui/gui/SetupTab/StepView.py,sha256=
|
25
|
+
mgpsogui/gui/SetupTab/StepView.py,sha256=e3QhepeAfDJdhefsJvzyppRuMdVAFKEnbZLtrFIczU4,8936
|
26
26
|
mgpsogui/gui/SetupTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
27
|
mgpsogui/gui/VisualizeTab/MatrixEditor.py,sha256=Gzyl2hRgjIfO5n0bCZZoXp_vOFvfsJPaGXDUMeRQg10,3171
|
28
28
|
mgpsogui/gui/VisualizeTab/SideBar.py,sha256=wPjzA8ZZsCTxBKN0_6-_ABtU5BeHqytNAWfKCWAPoe8,22106
|
@@ -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.25.dist-info/METADATA,sha256=lZIUCKPYro9S_jDTHf1V1nI9AgdVbKVWeWR2Qhbl_C8,9455
|
73
|
+
mg_pso_gui-0.2.25.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
74
|
+
mg_pso_gui-0.2.25.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
|
75
|
+
mg_pso_gui-0.2.25.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
|
76
|
+
mg_pso_gui-0.2.25.dist-info/RECORD,,
|
mgpsogui/gui/OptionManager.py
CHANGED
@@ -34,7 +34,7 @@ class OptionManager():
|
|
34
34
|
"sensitivity_parameters": [],
|
35
35
|
"sensitivity_positiveBestMetrics": [],
|
36
36
|
"sensitivity_negativeBestMetrics": [],
|
37
|
-
|
37
|
+
|
38
38
|
"sensitivity_analysis_path": sv(),
|
39
39
|
"sampling_output_mode": sv(),
|
40
40
|
"selected_graph": sv(),
|
@@ -47,16 +47,16 @@ class OptionManager():
|
|
47
47
|
"figure_style": sv(),
|
48
48
|
"matrix_values": []}
|
49
49
|
|
50
|
-
self._data["selected_graph"].set("Best Cost Stacked")
|
51
|
-
self._data["graph_theme"].set("Dark")
|
52
|
-
self._data["selected_csv"].set("No files found...")
|
53
|
-
self._data["selected_csv2"].set("No files found...")
|
54
|
-
self._data["selected_x"].set("time")
|
55
|
-
self._data["selected_y1"].set("NONE")
|
56
|
-
self._data["selected_y2"].set("NONE")
|
57
|
-
self._data["figure_style"].set("Scatter")
|
58
|
-
self._data["matrix_values"].append(sv())
|
59
|
-
self._data["matrix_values"][0].set("NONE")
|
50
|
+
self._data[service]["selected_graph"].set("Best Cost Stacked")
|
51
|
+
self._data[service]["graph_theme"].set("Dark")
|
52
|
+
self._data[service]["selected_csv"].set("No files found...")
|
53
|
+
self._data[service]["selected_csv2"].set("No files found...")
|
54
|
+
self._data[service]["selected_x"].set("time")
|
55
|
+
self._data[service]["selected_y1"].set("NONE")
|
56
|
+
self._data[service]["selected_y2"].set("NONE")
|
57
|
+
self._data[service]["figure_style"].set("Scatter")
|
58
|
+
self._data[service]["matrix_values"].append(sv())
|
59
|
+
self._data[service]["matrix_values"][0].set("NONE")
|
60
60
|
|
61
61
|
|
62
62
|
if service == "Sampling: Halton" or service == "Sampling: Random":
|
@@ -93,8 +93,8 @@ class StepView(CTkScrollableFrame):
|
|
93
93
|
|
94
94
|
if len(files) == 0:
|
95
95
|
files = [" No CSV files found! Run sampling first! "]
|
96
|
-
elif self.option_manager
|
97
|
-
self.option_manager
|
96
|
+
elif self.option_manager.get("sensitivity_analysis_path").get() not in files:
|
97
|
+
self.option_manager.get("sensitivity_analysis_path").set(files[0])
|
98
98
|
|
99
99
|
header_padding_x = (5, 5)
|
100
100
|
header_padding_y = (10, 10)
|
@@ -104,7 +104,7 @@ class StepView(CTkScrollableFrame):
|
|
104
104
|
self.logo_label = CTkLabel(self.file_selector_frame, text="Select File:")
|
105
105
|
self.logo_label.grid(row=0, column=0, padx=(10, 10), pady=header_padding_y)
|
106
106
|
|
107
|
-
self.file_selector = CTkOptionMenu(self.file_selector_frame, values=files, width=50, variable=self.option_manager
|
107
|
+
self.file_selector = CTkOptionMenu(self.file_selector_frame, values=files, width=50, variable=self.option_manager.get("sensitivity_analysis_path"))
|
108
108
|
self.file_selector.grid(row=0, column=1, padx=(10, 10), pady=header_padding_y)
|
109
109
|
|
110
110
|
row += 1
|
@@ -119,9 +119,9 @@ class StepView(CTkScrollableFrame):
|
|
119
119
|
self.logo_label2 = CTkLabel(self.file_selector_frame, text="Output:")
|
120
120
|
self.logo_label2.grid(row=0, column=1, padx=(20, 10), pady=header_padding_y)
|
121
121
|
|
122
|
-
self.output_method = CTkOptionMenu(self.file_selector_frame, values=["Replace", "Append"], width=50, variable=self.option_manager
|
123
|
-
if self.option_manager
|
124
|
-
self.option_manager
|
122
|
+
self.output_method = CTkOptionMenu(self.file_selector_frame, values=["Replace", "Append"], width=50, variable=self.option_manager.get("sampling_output_mode"))
|
123
|
+
if self.option_manager.get("sampling_output_mode").get() == "":
|
124
|
+
self.option_manager.get("sampling_output_mode").set("Replace")
|
125
125
|
self.output_method.grid(row=0, column=2, padx=(10, 10), pady=header_padding_y)
|
126
126
|
|
127
127
|
row += 1
|
File without changes
|
File without changes
|
File without changes
|