omniopt2 7773__py3-none-any.whl → 8167__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.
- .omniopt.py +1633 -1354
- .shellscript_functions +5 -5
- .tests/pylint.rc +687 -0
- README.md +0 -2
- omniopt +127 -38
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt.py +1633 -1354
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.shellscript_functions +5 -5
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/omniopt +127 -38
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/omniopt_plot +0 -4
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/omniopt_share +0 -11
- omniopt2-8167.data/data/bin/pylint.rc +687 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/requirements.txt +1 -2
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/setup.py +2 -1
- {omniopt2-7773.dist-info → omniopt2-8167.dist-info}/METADATA +2 -5
- omniopt2-8167.dist-info/RECORD +71 -0
- omniopt2.egg-info/PKG-INFO +2 -5
- omniopt2.egg-info/SOURCES.txt +1 -0
- omniopt2.egg-info/requires.txt +1 -2
- omniopt_plot +0 -4
- omniopt_share +0 -11
- pyproject.toml +1 -1
- requirements.txt +1 -2
- omniopt2-7773.dist-info/RECORD +0 -69
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.colorfunctions.sh +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.general.sh +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.helpers.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_general.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_kde.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_scatter.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.omniopt_plot_worker.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.random_generator.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/.tpe.py +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/LICENSE +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/apt-dependencies.txt +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/omniopt_docker +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/omniopt_evaluate +0 -0
- {omniopt2-7773.data → omniopt2-8167.data}/data/bin/test_requirements.txt +0 -0
- {omniopt2-7773.dist-info → omniopt2-8167.dist-info}/WHEEL +0 -0
- {omniopt2-7773.dist-info → omniopt2-8167.dist-info}/licenses/LICENSE +0 -0
- {omniopt2-7773.dist-info → omniopt2-8167.dist-info}/top_level.txt +0 -0
.shellscript_functions
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
exit 245
|
|
120
120
|
fi
|
|
121
121
|
|
|
122
|
-
VENV_DIR_NAME=".
|
|
122
|
+
VENV_DIR_NAME=".omniax_venvs/$(python3 --version | sed -e 's# #_#g')/$(uname -m)/"
|
|
123
123
|
|
|
124
124
|
ROOT_VENV_DIR=$HOME
|
|
125
125
|
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
bar="${bar} "
|
|
208
208
|
done
|
|
209
209
|
|
|
210
|
-
printf "[%s] %d
|
|
210
|
+
printf "[%s] %d%% \n" "$bar" "$percentage"
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
function ppip {
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
|
|
397
397
|
green_reset_line "${PROGRESSBAR}➤Environment $VENV_DIR was not found. Creating it..."
|
|
398
398
|
python3 -mvenv "$VENV_DIR/" || {
|
|
399
|
-
red_text "❌Failed to create Virtual Environment in $VENV_DIR"
|
|
399
|
+
red_text "❌Failed to create Virtual Environment in $VENV_DIR\n"
|
|
400
400
|
exit 20
|
|
401
401
|
}
|
|
402
402
|
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
rm -rf "$VENV_DIR"
|
|
424
424
|
|
|
425
425
|
python3 -mvenv "$VENV_DIR/" || {
|
|
426
|
-
red_text "❌Failed to create Virtual Environment in $VENV_DIR"
|
|
426
|
+
red_text "❌Failed to create Virtual Environment in $VENV_DIR\n"
|
|
427
427
|
rm -rf "$VENV_DIR"
|
|
428
428
|
exit 20
|
|
429
429
|
}
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
rm -rf "$VENV_DIR"
|
|
441
441
|
|
|
442
442
|
python3 -mvenv "$VENV_DIR/" || {
|
|
443
|
-
red_text "❌Failed to create Virtual Environment in $VENV_DIR"
|
|
443
|
+
red_text "❌Failed to create Virtual Environment in $VENV_DIR\n"
|
|
444
444
|
exit 20
|
|
445
445
|
}
|
|
446
446
|
|