omniopt2 8635__tar.gz → 8645__tar.gz
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.
- {omniopt2-8635 → omniopt2-8645}/.omniopt.py +10 -3
- {omniopt2-8635 → omniopt2-8645}/PKG-INFO +1 -1
- {omniopt2-8635 → omniopt2-8645}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8635 → omniopt2-8645}/pyproject.toml +1 -1
- {omniopt2-8635 → omniopt2-8645}/.colorfunctions.sh +0 -0
- {omniopt2-8635 → omniopt2-8645}/.dockerignore +0 -0
- {omniopt2-8635 → omniopt2-8645}/.general.sh +0 -0
- {omniopt2-8635 → omniopt2-8645}/.gitignore +0 -0
- {omniopt2-8635 → omniopt2-8645}/.helpers.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_general.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.random_generator.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/.shellscript_functions +0 -0
- {omniopt2-8635 → omniopt2-8645}/.tests/pylint.rc +0 -0
- {omniopt2-8635 → omniopt2-8645}/.tpe.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/LICENSE +0 -0
- {omniopt2-8635 → omniopt2-8645}/MANIFEST.in +0 -0
- {omniopt2-8635 → omniopt2-8645}/README.md +0 -0
- {omniopt2-8635 → omniopt2-8645}/apt-dependencies.txt +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt_docker +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt_evaluate +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt_plot +0 -0
- {omniopt2-8635 → omniopt2-8645}/omniopt_share +0 -0
- {omniopt2-8635 → omniopt2-8645}/requirements.txt +0 -0
- {omniopt2-8635 → omniopt2-8645}/setup.cfg +0 -0
- {omniopt2-8635 → omniopt2-8645}/setup.py +0 -0
- {omniopt2-8635 → omniopt2-8645}/test_requirements.txt +0 -0
|
@@ -31,6 +31,8 @@ import psutil
|
|
|
31
31
|
|
|
32
32
|
FORCE_EXIT: bool = False
|
|
33
33
|
|
|
34
|
+
last_msg_progressbar = ""
|
|
35
|
+
|
|
34
36
|
def force_exit(signal_number: Any, frame: Any) -> Any:
|
|
35
37
|
global FORCE_EXIT
|
|
36
38
|
|
|
@@ -2828,10 +2830,15 @@ def print_debug_get_next_trials(got: int, requested: int, _line: int) -> None:
|
|
|
2828
2830
|
log_message_to_file(LOGFILE_DEBUG_GET_NEXT_TRIALS, msg, 0, "")
|
|
2829
2831
|
|
|
2830
2832
|
def print_debug_progressbar(msg: str) -> None:
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
+
global last_msg_progressbar
|
|
2834
|
+
|
|
2835
|
+
if msg != last_msg_progressbar:
|
|
2836
|
+
time_str = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
2837
|
+
msg = f"{time_str} ({worker_generator_uuid}): {msg}"
|
|
2838
|
+
|
|
2839
|
+
_debug_progressbar(msg)
|
|
2833
2840
|
|
|
2834
|
-
|
|
2841
|
+
last_msg_progressbar = msg
|
|
2835
2842
|
|
|
2836
2843
|
def get_process_info(pid: Any) -> str:
|
|
2837
2844
|
try:
|
|
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
|