mg-pso-gui 0.2.113__py3-none-any.whl → 0.2.115__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.113
3
+ Version: 0.2.115
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
1
1
  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
- mgpsogui/gui/HomePage.py,sha256=ec-W_dOssQHUmFtPWlpAZTJc8dIh_P2ERwFM331VW1A,24536
4
+ mgpsogui/gui/HomePage.py,sha256=ywMOelyxKOz-qYRukbjuDgdoqnHtBfOKzr4DweQez2I,24629
5
5
  mgpsogui/gui/OptionManager.py,sha256=t0aXOeBo48qQ-P8OykpP2v_3KJoaJtUPSkYtacjloCc,22844
6
6
  mgpsogui/gui/OptionManager_backup.py,sha256=TCWfPnHL2foN5id47jsi267lamRG6yGU6y_M29eOOJk,18530
7
7
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -14,7 +14,7 @@ mgpsogui/gui/RunTab/OptimalParameterView.py,sha256=nliUEWA840cPBQt7wjiZ-L7uBOp_o
14
14
  mgpsogui/gui/RunTab/RunTab.py,sha256=_JWzDx5LT_uISw0Vnv-W2ypIeuKgoWqBnvFnvrLhNQA,5917
15
15
  mgpsogui/gui/RunTab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  mgpsogui/gui/SetupTab/BoundsEditorWindow.py,sha256=U64oaiDIOaimjbqKMz5rQNq2o1SrQtrRHDdTYQ9ux1s,2870
17
- mgpsogui/gui/SetupTab/BoundsList.py,sha256=cmt1YPIPxowaYjWyi8uKSfxNSdEJZHohKlRZ5PeGPfM,15523
17
+ mgpsogui/gui/SetupTab/BoundsList.py,sha256=X4qtmRZR38byadUiOjJtjVM95jfsEI10VyWHAqb3GBE,15513
18
18
  mgpsogui/gui/SetupTab/CustomFunctionEditorWindow.py,sha256=yx0dHSNa7fGy99Q6qFcI6j9r8p0DlV3iOBgyPMGd8pM,2884
19
19
  mgpsogui/gui/SetupTab/CustomFunctionMetrics.py,sha256=vOJpElbTgz043m6JYwe9xz_2MBHg985S6KdbJkJERW4,5923
20
20
  mgpsogui/gui/SetupTab/FunctionsList.py,sha256=6oFS8qKF3OCtxNi5aY5Rj_ovM9nv4-vh-oT_CbhVTj4,7043
@@ -73,8 +73,8 @@ mgpsogui/util/recosu/utils/trace_writer.py,sha256=V9BJlOjCbNYGoXGEk3CF5wjifBxvar
73
73
  mgpsogui/util/recosu/utils/utils.py,sha256=QB8vftq3142ekG0ORjz0ZBHU5YknXbR0oTsrxrPAsF0,3951
74
74
  mgpsogui/util/recosu/utils/plot/__init__.py,sha256=h1KjM7_tNDv351pcwt8A6Ibb1jhwWyx5Gbu-zj-sI3Q,71
75
75
  mgpsogui/util/recosu/utils/plot/cost_steps.py,sha256=1Ce11AJyweWkmvjXPxEygzS-h8yVLmQEDLS53yjPLqQ,3779
76
- mg_pso_gui-0.2.113.dist-info/METADATA,sha256=XiU52HFgb_m5bg9t6tKxdBiAymutWxWiKHSZTV5HzWo,9542
77
- mg_pso_gui-0.2.113.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
78
- mg_pso_gui-0.2.113.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
79
- mg_pso_gui-0.2.113.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
80
- mg_pso_gui-0.2.113.dist-info/RECORD,,
76
+ mg_pso_gui-0.2.115.dist-info/METADATA,sha256=l5lKjFT9WFTYL-2RWKy-gEXuMDZUoAJ9trJDy6sQAug,9542
77
+ mg_pso_gui-0.2.115.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
78
+ mg_pso_gui-0.2.115.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
79
+ mg_pso_gui-0.2.115.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
80
+ mg_pso_gui-0.2.115.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -409,6 +409,10 @@ class App(customtkinter.CTk):
409
409
  mode = self.option_manager.get_mode()
410
410
  data = data[mode]
411
411
 
412
+ if data["url"] == "":
413
+ NW(title="Error", message="Service URL is not set!")
414
+ return 0
415
+
412
416
  self.running_config = data
413
417
 
414
418
  #if self.testing:
@@ -54,6 +54,7 @@ class BoundsList(CTkFrame):
54
54
  self.tooltip_list = []
55
55
 
56
56
  mode = self.option_manager.get_mode()
57
+ bounds = self.option_manager.get_steps()[self.step_index]["parameter_objects"]
57
58
 
58
59
  # Load bound parameters depending on the mode
59
60
  self.optParams = []
@@ -93,7 +94,6 @@ class BoundsList(CTkFrame):
93
94
 
94
95
  show_strategy = False
95
96
 
96
-
97
97
  if mode != "Sensitivity Analysis":
98
98
  CTkLabel(self.containerFrame, text="Bounds:").grid(row=row, column=2, columnspan=2, padx=(5, 5), pady=(5, 5), sticky="nsew")
99
99
 
@@ -111,8 +111,6 @@ class BoundsList(CTkFrame):
111
111
  CTkLabel(self.containerFrame, text="Strategy:").grid(row=row, column=5, padx=(5, 5), pady=(5, 5), sticky="nsew")
112
112
  row += 1
113
113
 
114
- bounds = self.option_manager.get_steps()[self.step_index]["parameter_objects"]
115
-
116
114
  for bound in bounds:
117
115
  tt1 = None
118
116
  tt2 = None