omniopt2 7361__tar.gz → 7366__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-7361 → omniopt2-7366}/.helpers.py +8 -5
  2. {omniopt2-7361/omniopt2.egg-info → omniopt2-7366}/PKG-INFO +2 -1
  3. {omniopt2-7361 → omniopt2-7366/omniopt2.egg-info}/PKG-INFO +2 -1
  4. {omniopt2-7361 → omniopt2-7366}/omniopt2.egg-info/requires.txt +1 -0
  5. {omniopt2-7361 → omniopt2-7366}/pyproject.toml +1 -1
  6. {omniopt2-7361 → omniopt2-7366}/requirements.txt +1 -0
  7. {omniopt2-7361 → omniopt2-7366}/.colorfunctions.sh +0 -0
  8. {omniopt2-7361 → omniopt2-7366}/.dockerignore +0 -0
  9. {omniopt2-7361 → omniopt2-7366}/.general.sh +0 -0
  10. {omniopt2-7361 → omniopt2-7366}/.gitignore +0 -0
  11. {omniopt2-7361 → omniopt2-7366}/.omniopt.py +0 -0
  12. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_cpu_ram_usage.py +0 -0
  13. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_general.py +0 -0
  14. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_gpu_usage.py +0 -0
  15. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_kde.py +0 -0
  16. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_scatter.py +0 -0
  17. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_scatter_generation_method.py +0 -0
  18. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_scatter_hex.py +0 -0
  19. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_time_and_exit_code.py +0 -0
  20. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_trial_index_result.py +0 -0
  21. {omniopt2-7361 → omniopt2-7366}/.omniopt_plot_worker.py +0 -0
  22. {omniopt2-7361 → omniopt2-7366}/.random_generator.py +0 -0
  23. {omniopt2-7361 → omniopt2-7366}/.shellscript_functions +0 -0
  24. {omniopt2-7361 → omniopt2-7366}/.tpe.py +0 -0
  25. {omniopt2-7361 → omniopt2-7366}/LICENSE +0 -0
  26. {omniopt2-7361 → omniopt2-7366}/MANIFEST.in +0 -0
  27. {omniopt2-7361 → omniopt2-7366}/README.md +0 -0
  28. {omniopt2-7361 → omniopt2-7366}/apt-dependencies.txt +0 -0
  29. {omniopt2-7361 → omniopt2-7366}/omniopt +0 -0
  30. {omniopt2-7361 → omniopt2-7366}/omniopt2.egg-info/SOURCES.txt +0 -0
  31. {omniopt2-7361 → omniopt2-7366}/omniopt2.egg-info/dependency_links.txt +0 -0
  32. {omniopt2-7361 → omniopt2-7366}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-7361 → omniopt2-7366}/omniopt_docker +0 -0
  34. {omniopt2-7361 → omniopt2-7366}/omniopt_evaluate +0 -0
  35. {omniopt2-7361 → omniopt2-7366}/omniopt_plot +0 -0
  36. {omniopt2-7361 → omniopt2-7366}/omniopt_share +0 -0
  37. {omniopt2-7361 → omniopt2-7366}/setup.cfg +0 -0
  38. {omniopt2-7361 → omniopt2-7366}/setup.py +0 -0
  39. {omniopt2-7361 → omniopt2-7366}/test_requirements.txt +0 -0
@@ -5,6 +5,7 @@ try:
5
5
  from typing import Union, Tuple, Any, Optional
6
6
  from datetime import datetime
7
7
  from itertools import combinations
8
+ from pprint import pprint
8
9
  import math
9
10
  import difflib
10
11
  import logging
@@ -12,7 +13,6 @@ try:
12
13
  import platform
13
14
  import re
14
15
  import traceback
15
- from pprint import pprint
16
16
  import numpy as np
17
17
  import pandas as pd
18
18
  import matplotlib
@@ -26,6 +26,13 @@ all_columns_to_remove = ['trial_index', 'arm_name', 'trial_status', 'generation_
26
26
  val_if_nothing_found = 99999999999999999999999999999999999999999999999999999999999
27
27
  NO_RESULT = "{:.0e}".format(val_if_nothing_found)
28
28
 
29
+ def dier(*args: Any, exit: Union[bool, int] = False) -> None:
30
+ for msg in args:
31
+ pprint(msg)
32
+ if exit is False or exit == 0:
33
+ return
34
+ sys.exit(exit if isinstance(exit, int) else 1)
35
+
29
36
  def check_environment_variable(variable_name: str) -> bool:
30
37
  try:
31
38
  value = os.environ[variable_name]
@@ -98,10 +105,6 @@ def to_int_when_possible(val: Any) -> Union[None, int, float, str]:
98
105
  except Exception:
99
106
  return val
100
107
 
101
- def dier(msg: Any) -> None:
102
- pprint(msg)
103
- sys.exit(1)
104
-
105
108
  def flatten_extend(matrix: list) -> list:
106
109
  flat_list = []
107
110
  for row in matrix:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7361
3
+ Version: 7366
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
@@ -8,6 +8,7 @@ Author-email: norman.koch@tu-dresden.de
8
8
  Platform: Linux
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
+ Requires-Dist: mypydie
11
12
  Requires-Dist: pymysql
12
13
  Requires-Dist: sqlalchemy
13
14
  Requires-Dist: setuptools
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 7361
3
+ Version: 7366
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
@@ -8,6 +8,7 @@ Author-email: norman.koch@tu-dresden.de
8
8
  Platform: Linux
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
+ Requires-Dist: mypydie
11
12
  Requires-Dist: pymysql
12
13
  Requires-Dist: sqlalchemy
13
14
  Requires-Dist: setuptools
@@ -1,3 +1,4 @@
1
+ mypydie
1
2
  pymysql
2
3
  sqlalchemy
3
4
  setuptools
@@ -5,7 +5,7 @@ authors = [
5
5
  {email = "norman.koch@tu-dresden.de"},
6
6
  {name = "Norman Koch"}
7
7
  ]
8
- version = "7361"
8
+ version = "7366"
9
9
 
10
10
  readme = "README.md"
11
11
  dynamic = ["dependencies"]
@@ -1,3 +1,4 @@
1
+ mypydie
1
2
  pymysql
2
3
  sqlalchemy
3
4
  setuptools
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