omniopt2 8366__py3-none-any.whl → 9061__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.
Potentially problematic release.
This version of omniopt2 might be problematic. Click here for more details.
- .gitignore +2 -0
- .helpers.py +0 -9
- .omniopt.py +1369 -1011
- .pareto.py +134 -0
- .shellscript_functions +2 -2
- .tests/pylint.rc +0 -4
- .tpe.py +4 -3
- omniopt +56 -27
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.helpers.py +0 -9
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt.py +1369 -1011
- omniopt2-9061.data/data/bin/.pareto.py +134 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.shellscript_functions +2 -2
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.tpe.py +4 -3
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/omniopt +56 -27
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/pylint.rc +0 -4
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/requirements.txt +1 -2
- {omniopt2-8366.dist-info → omniopt2-9061.dist-info}/METADATA +2 -3
- omniopt2-9061.dist-info/RECORD +73 -0
- omniopt2.egg-info/PKG-INFO +2 -3
- omniopt2.egg-info/SOURCES.txt +1 -0
- omniopt2.egg-info/requires.txt +1 -2
- pyproject.toml +1 -1
- requirements.txt +1 -2
- omniopt2-8366.dist-info/RECORD +0 -71
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.colorfunctions.sh +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.general.sh +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_general.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_kde.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.omniopt_plot_worker.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/.random_generator.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/LICENSE +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/apt-dependencies.txt +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/omniopt_docker +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/omniopt_evaluate +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/omniopt_plot +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/omniopt_share +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/setup.py +0 -0
- {omniopt2-8366.data → omniopt2-9061.data}/data/bin/test_requirements.txt +0 -0
- {omniopt2-8366.dist-info → omniopt2-9061.dist-info}/WHEEL +0 -0
- {omniopt2-8366.dist-info → omniopt2-9061.dist-info}/licenses/LICENSE +0 -0
- {omniopt2-8366.dist-info → omniopt2-9061.dist-info}/top_level.txt +0 -0
.gitignore
CHANGED
.helpers.py
CHANGED
|
@@ -10,7 +10,6 @@ try:
|
|
|
10
10
|
import difflib
|
|
11
11
|
import logging
|
|
12
12
|
import os
|
|
13
|
-
import platform
|
|
14
13
|
import re
|
|
15
14
|
import traceback
|
|
16
15
|
import numpy as np
|
|
@@ -227,12 +226,6 @@ def print_color(color: str, text: str) -> None:
|
|
|
227
226
|
print(f"Error: {e}")
|
|
228
227
|
print(text)
|
|
229
228
|
|
|
230
|
-
def check_python_version() -> None:
|
|
231
|
-
python_version = platform.python_version()
|
|
232
|
-
supported_versions = ["3.8.10", "3.8.20", "3.9.21", "3.10.4", "3.10.12", "3.11.2", "3.11.9", "3.9.2", "3.11.3", "3.12.3", "3.12.4", "3.12.5", "3.12.6", "3.12.7", "3.12.7+", "3.12.8", "3.13.1", "3.13.2", "3.13.3", "3.13.5"]
|
|
233
|
-
if python_version not in supported_versions:
|
|
234
|
-
print_color("yellow", f"Warning: Supported python versions are {', '.join(supported_versions)}, but you are running {python_version}. This may or may not cause problems. Just is just a warning.")
|
|
235
|
-
|
|
236
229
|
def create_widgets(_data: Any) -> Any:
|
|
237
230
|
_plt, button, MAXIMUM_TEXTBOX, MINIMUM_TEXTBOX, _args, TEXTBOX_MINIMUM, TEXTBOX_MAXIMUM, update_graph = _data
|
|
238
231
|
|
|
@@ -882,5 +875,3 @@ def die_if_cannot_be_plotted(run_dir: Optional[str]) -> None:
|
|
|
882
875
|
if not can_be_plotted(run_dir):
|
|
883
876
|
log_error(f"{run_dir} contains multiple RESULTS and thus can only be plotted by parallel plot")
|
|
884
877
|
sys.exit(2)
|
|
885
|
-
|
|
886
|
-
check_python_version()
|