omniopt2 7356__tar.gz → 7357__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.
Files changed (39) hide show
  1. {omniopt2-7356 → omniopt2-7357}/.omniopt.py +2 -11
  2. {omniopt2-7356 → omniopt2-7357}/PKG-INFO +1 -1
  3. {omniopt2-7356 → omniopt2-7357}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-7356 → omniopt2-7357}/pyproject.toml +1 -1
  5. {omniopt2-7356 → omniopt2-7357}/.colorfunctions.sh +0 -0
  6. {omniopt2-7356 → omniopt2-7357}/.dockerignore +0 -0
  7. {omniopt2-7356 → omniopt2-7357}/.general.sh +0 -0
  8. {omniopt2-7356 → omniopt2-7357}/.gitignore +0 -0
  9. {omniopt2-7356 → omniopt2-7357}/.helpers.py +0 -0
  10. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-7356 → omniopt2-7357}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-7356 → omniopt2-7357}/.random_generator.py +0 -0
  21. {omniopt2-7356 → omniopt2-7357}/.shellscript_functions +0 -0
  22. {omniopt2-7356 → omniopt2-7357}/.tpe.py +0 -0
  23. {omniopt2-7356 → omniopt2-7357}/LICENSE +0 -0
  24. {omniopt2-7356 → omniopt2-7357}/MANIFEST.in +0 -0
  25. {omniopt2-7356 → omniopt2-7357}/README.md +0 -0
  26. {omniopt2-7356 → omniopt2-7357}/apt-dependencies.txt +0 -0
  27. {omniopt2-7356 → omniopt2-7357}/omniopt +0 -0
  28. {omniopt2-7356 → omniopt2-7357}/omniopt2.egg-info/SOURCES.txt +0 -0
  29. {omniopt2-7356 → omniopt2-7357}/omniopt2.egg-info/dependency_links.txt +0 -0
  30. {omniopt2-7356 → omniopt2-7357}/omniopt2.egg-info/requires.txt +0 -0
  31. {omniopt2-7356 → omniopt2-7357}/omniopt2.egg-info/top_level.txt +0 -0
  32. {omniopt2-7356 → omniopt2-7357}/omniopt_docker +0 -0
  33. {omniopt2-7356 → omniopt2-7357}/omniopt_evaluate +0 -0
  34. {omniopt2-7356 → omniopt2-7357}/omniopt_plot +0 -0
  35. {omniopt2-7356 → omniopt2-7357}/omniopt_share +0 -0
  36. {omniopt2-7356 → omniopt2-7357}/requirements.txt +0 -0
  37. {omniopt2-7356 → omniopt2-7357}/setup.cfg +0 -0
  38. {omniopt2-7356 → omniopt2-7357}/setup.py +0 -0
  39. {omniopt2-7356 → omniopt2-7357}/test_requirements.txt +0 -0
@@ -3956,23 +3956,14 @@ def _evaluate_handle_result(
3956
3956
 
3957
3957
  return final_result
3958
3958
 
3959
- @beartype
3960
- def _read(p: str) -> Optional[str]:
3961
- try:
3962
- return Path(p).read_text(encoding="utf-8", errors="replace")
3963
- except FileNotFoundError:
3964
- print_debug(f"[file not found: {p}]")
3965
-
3966
- return None
3967
-
3968
3959
  @beartype
3969
3960
  def is_valid_result(result: Union[int, float, Optional[Union[Dict[str, Optional[float]], List[float]]]]) -> bool:
3970
3961
  return result is not None and (isinstance(result, (int, float)) or (isinstance(result, list) and all(isinstance(x, (int, float)) and x is not None for x in result)) or (isinstance(result, dict) and all(isinstance(v, (int, float)) and v is not None for v in result.values())))
3971
3962
 
3972
3963
  @beartype
3973
3964
  def pretty_process_output(stdout_path: str, stderr_path: str, exit_code: Optional[int], result: Union[int, float, Optional[Union[Dict[str, Optional[float]], List[float]]]]) -> None:
3974
- stdout_txt = _read(stdout_path)
3975
- stderr_txt = _read(stderr_path)
3965
+ stdout_txt = get_file_as_string(stdout_path)
3966
+ stderr_txt = get_file_as_string(stderr_path)
3976
3967
 
3977
3968
  # -------- header -------- #
3978
3969
  is_valid = is_valid_result(result)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7356
3
+ Version: 7357
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7356
3
+ Version: 7357
4
4
  Summary: Automatic highly parallelized hyperparameter optimizer based on Ax/Botorch
5
5
  Home-page: https://scads.ai/transfer-2/verfuegbare-software-dienste-en/omniopt/
6
6
  Author: Norman Koch
@@ -5,7 +5,7 @@ authors = [
5
5
  {email = "norman.koch@tu-dresden.de"},
6
6
  {name = "Norman Koch"}
7
7
  ]
8
- version = "7356"
8
+ version = "7357"
9
9
 
10
10
  readme = "README.md"
11
11
  dynamic = ["dependencies"]
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