omniopt2 8455__tar.gz → 8458__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-8455 → omniopt2-8458}/.omniopt.py +13 -10
- {omniopt2-8455 → omniopt2-8458}/PKG-INFO +1 -1
- {omniopt2-8455 → omniopt2-8458}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8455 → omniopt2-8458}/pyproject.toml +1 -1
- {omniopt2-8455 → omniopt2-8458}/.colorfunctions.sh +0 -0
- {omniopt2-8455 → omniopt2-8458}/.dockerignore +0 -0
- {omniopt2-8455 → omniopt2-8458}/.general.sh +0 -0
- {omniopt2-8455 → omniopt2-8458}/.gitignore +0 -0
- {omniopt2-8455 → omniopt2-8458}/.helpers.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_general.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.random_generator.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/.shellscript_functions +0 -0
- {omniopt2-8455 → omniopt2-8458}/.tests/pylint.rc +0 -0
- {omniopt2-8455 → omniopt2-8458}/.tpe.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/LICENSE +0 -0
- {omniopt2-8455 → omniopt2-8458}/MANIFEST.in +0 -0
- {omniopt2-8455 → omniopt2-8458}/README.md +0 -0
- {omniopt2-8455 → omniopt2-8458}/apt-dependencies.txt +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt_docker +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt_evaluate +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt_plot +0 -0
- {omniopt2-8455 → omniopt2-8458}/omniopt_share +0 -0
- {omniopt2-8455 → omniopt2-8458}/requirements.txt +0 -0
- {omniopt2-8455 → omniopt2-8458}/setup.cfg +0 -0
- {omniopt2-8455 → omniopt2-8458}/setup.py +0 -0
- {omniopt2-8455 → omniopt2-8458}/test_requirements.txt +0 -0
|
@@ -333,7 +333,7 @@ def show_func_name_wrapper(func: F) -> F:
|
|
|
333
333
|
|
|
334
334
|
return result
|
|
335
335
|
|
|
336
|
-
return wrapper
|
|
336
|
+
return wrapper # type: ignore
|
|
337
337
|
|
|
338
338
|
def log_time_and_memory_wrapper(func: F) -> F:
|
|
339
339
|
@functools.wraps(func)
|
|
@@ -360,7 +360,7 @@ def log_time_and_memory_wrapper(func: F) -> F:
|
|
|
360
360
|
|
|
361
361
|
return result
|
|
362
362
|
|
|
363
|
-
return wrapper
|
|
363
|
+
return wrapper # type: ignore
|
|
364
364
|
|
|
365
365
|
def _record_stats(func_name: str, elapsed: float, mem_diff: float, mem_after: float, mem_peak: float) -> None:
|
|
366
366
|
global _total_time
|
|
@@ -697,9 +697,9 @@ def my_exit(_code: int = 0) -> None:
|
|
|
697
697
|
skip_search_exit_code_found = None
|
|
698
698
|
|
|
699
699
|
try:
|
|
700
|
-
skip_search_exit_code_found
|
|
701
|
-
|
|
702
|
-
|
|
700
|
+
if skip_search_exit_code_found is not None:
|
|
701
|
+
skip_search_exit_code_found = int(skip_search_exit_code)
|
|
702
|
+
sys.exit(skip_search_exit_code_found)
|
|
703
703
|
except ValueError:
|
|
704
704
|
print_debug(f"Trying to look for SKIP_SEARCH_EXIT_CODE failed. Exiting with original exit code {_code}")
|
|
705
705
|
|
|
@@ -3597,11 +3597,11 @@ def _add_to_csv_rewrite_file(file_path: str, rows: List[list], existing_heading:
|
|
|
3597
3597
|
writer = csv.writer(tmp_file)
|
|
3598
3598
|
writer.writerow(all_headings)
|
|
3599
3599
|
for row in rows[1:]:
|
|
3600
|
-
tmp_file.writerow([
|
|
3600
|
+
tmp_file.writerow([ # type: ignore[attr-defined]
|
|
3601
3601
|
row[existing_heading.index(h)] if h in existing_heading else ""
|
|
3602
3602
|
for h in all_headings
|
|
3603
3603
|
])
|
|
3604
|
-
tmp_file.writerow([
|
|
3604
|
+
tmp_file.writerow([ # type: ignore[attr-defined]
|
|
3605
3605
|
formatted_data[new_heading.index(h)] if h in new_heading else ""
|
|
3606
3606
|
for h in all_headings
|
|
3607
3607
|
])
|
|
@@ -6572,9 +6572,12 @@ def try_insert_job(csv_path: str, arm_params: Dict, result: Any, i: int, arm_par
|
|
|
6572
6572
|
if err_msgs is None:
|
|
6573
6573
|
print_red("try_insert_job: err_msgs was None")
|
|
6574
6574
|
else:
|
|
6575
|
-
if
|
|
6576
|
-
|
|
6577
|
-
|
|
6575
|
+
if isinstance(err_msgs, list):
|
|
6576
|
+
if err_msg not in err_msgs:
|
|
6577
|
+
print_red(err_msg)
|
|
6578
|
+
err_msgs.append(err_msg)
|
|
6579
|
+
elif isinstance(err_msgs, str):
|
|
6580
|
+
err_msgs += f"\n{err_msg}"
|
|
6578
6581
|
|
|
6579
6582
|
return cnt
|
|
6580
6583
|
|
|
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
|