mg-pso-gui 0.2.86__tar.gz → 0.2.88__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/PKG-INFO +1 -1
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/General/NoticeWindow.py +1 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/HomePage.py +5 -1
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/PlatformTab/PlatformTab.py +11 -11
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/setup.py +1 -1
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/General/ParameterView.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/General/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/OptionManager.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/OptionManager_backup.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/PlatformTab/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/RunTab/OptimalParameterView.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/RunTab/RunTab.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/RunTab/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/BoundsEditorWindow.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/BoundsList.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/CustomFunctionMetrics.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/FunctionsList.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/ListEditor.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/ListParametersView.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/OverrideParameterMetrics.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/OverrideParameterWindow.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/SamplingListView.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/SamplingNameListWindow.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/SetupTab.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/StepView.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/SetupTab/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/VisualizeTab/MatrixEditor.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/VisualizeTab/SideBar.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/VisualizeTab/VisualizeTab.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/VisualizeTab/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/defaults/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/defaults/optimization.json +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/defaults/sampling.json +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/defaults/sensitivity.json +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/collapse.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/down.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/expand.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/play.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/plus.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/refresh.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/refresh_hd.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/stop.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/test.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/trash.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/gui/images/up.png +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/mgpsogui.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/start.yaml +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/PSORunner.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/debug.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/helpers.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/pso/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/pso/csip_access.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/pso/pso.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/halton/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/halton/halton.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/halton/prime.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/random/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/random/random_sampler.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/sample_trace_writer.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/sampler_task.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/sampling.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/utils/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/utils/plot/__init__.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/utils/plot/cost_steps.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/utils/trace_writer.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/utils/utils.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/sampler_test_driver.py +0 -0
- {mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/setup.cfg +0 -0
@@ -29,6 +29,7 @@ class NoticeWindow(CTkInputDialog):
|
|
29
29
|
self.textbox = CTkTextbox(self, state="normal")
|
30
30
|
self.textbox.grid(row=0, column=0, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
31
31
|
self.textbox.insert("0.0", self.message)
|
32
|
+
self.textbox.configure(state="disabled")
|
32
33
|
|
33
34
|
self._ok_button = CTkButton(master=self,
|
34
35
|
width=100,
|
@@ -210,7 +210,11 @@ class App(customtkinter.CTk):
|
|
210
210
|
self.refresh_step_view(0)
|
211
211
|
self.after(1000, self.running_loop)
|
212
212
|
|
213
|
-
|
213
|
+
# Read the file ./messages/welcome.txt and load it as a string and put it into the message
|
214
|
+
|
215
|
+
with open("./messages/welcome.txt", "r") as f:
|
216
|
+
message = f.read()
|
217
|
+
NW(title="Welcome!", message=message)
|
214
218
|
|
215
219
|
def update_graph(self, value):
|
216
220
|
self.vis_sidebar.refresh()
|
@@ -175,17 +175,17 @@ def create_tab(self, tab):
|
|
175
175
|
self.environment_editor.grid_columnconfigure(0, weight=1)
|
176
176
|
self.environment_editor.grid_rowconfigure(0, weight=1)
|
177
177
|
|
178
|
-
cl = customtkinter.CTkLabel(self.environment_editor, text="Cluster Preset:", anchor="w")
|
179
|
-
cl.grid(row=0, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
178
|
+
#cl = customtkinter.CTkLabel(self.environment_editor, text="Cluster Preset:", anchor="w")
|
179
|
+
#cl.grid(row=0, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
180
180
|
|
181
|
-
self.preset_selector = customtkinter.CTkOptionMenu(self.environment_editor, values=["
|
182
|
-
self.preset_selector.grid(row=1, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
181
|
+
#self.preset_selector = customtkinter.CTkOptionMenu(self.environment_editor, values=["Optimization", "Sampling", "Sensitivity Analysis"])
|
182
|
+
#self.preset_selector.grid(row=1, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
183
183
|
|
184
184
|
cl = customtkinter.CTkLabel(self.environment_editor, text="Controls:", anchor="w")
|
185
|
-
cl.grid(row=
|
185
|
+
cl.grid(row=0, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
186
186
|
|
187
187
|
self.start_cluster_button = customtkinter.CTkButton(self.environment_editor, text="Start Minikube", command=start_cluster)
|
188
|
-
self.start_cluster_button.grid(row=
|
188
|
+
self.start_cluster_button.grid(row=1, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
189
189
|
|
190
190
|
# Check if the os is MacOS
|
191
191
|
if (platform.system() == "Darwin"):
|
@@ -193,16 +193,16 @@ def create_tab(self, tab):
|
|
193
193
|
else:
|
194
194
|
self.create_environment_button = customtkinter.CTkButton(self.environment_editor, text="Copy Command", command=deploy_cluster)
|
195
195
|
|
196
|
-
self.create_environment_button.grid(row=
|
196
|
+
self.create_environment_button.grid(row=2, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
197
197
|
|
198
198
|
self.get_status = customtkinter.CTkButton(self.environment_editor, text="Minikube Status", command=cluster_status)
|
199
|
-
self.get_status.grid(row=
|
199
|
+
self.get_status.grid(row=3, column=0, padx=(20, 20), pady=(5, 10), sticky="ew")
|
200
200
|
|
201
201
|
self.destroy_environment_button = customtkinter.CTkButton(self.environment_editor, text="Stop Minikube", command=stop_cluster)
|
202
|
-
self.destroy_environment_button.grid(row=
|
202
|
+
self.destroy_environment_button.grid(row=4, column=0, padx=(20, 20), pady=(5,10), sticky="ew")
|
203
203
|
|
204
204
|
cl = customtkinter.CTkLabel(self.environment_editor, text="Minikube Status:", anchor="w")
|
205
|
-
cl.grid(row=
|
205
|
+
cl.grid(row=5, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
206
206
|
|
207
207
|
self.custer_details = customtkinter.CTkTextbox(self.environment_editor, height=480)
|
208
|
-
self.custer_details.grid(row=
|
208
|
+
self.custer_details.grid(row=6, column=0, padx=(20, 20), pady=(5, 5), sticky="ew")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/random/random_sampler.py
RENAMED
File without changes
|
{mg_pso_gui-0.2.86 → mg_pso_gui-0.2.88}/mgpsogui/util/recosu/sampling/sample_trace_writer.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|