omniopt2 6962__tar.gz → 6964__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 (38) hide show
  1. {omniopt2-6962 → omniopt2-6964}/.omniopt.py +8 -4
  2. {omniopt2-6962 → omniopt2-6964}/PKG-INFO +1 -1
  3. {omniopt2-6962 → omniopt2-6964}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-6962 → omniopt2-6964}/pyproject.toml +1 -1
  5. {omniopt2-6962 → omniopt2-6964}/.colorfunctions.sh +0 -0
  6. {omniopt2-6962 → omniopt2-6964}/.dockerignore +0 -0
  7. {omniopt2-6962 → omniopt2-6964}/.general.sh +0 -0
  8. {omniopt2-6962 → omniopt2-6964}/.gitignore +0 -0
  9. {omniopt2-6962 → omniopt2-6964}/.helpers.py +0 -0
  10. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-6962 → omniopt2-6964}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-6962 → omniopt2-6964}/.random_generator.py +0 -0
  21. {omniopt2-6962 → omniopt2-6964}/.shellscript_functions +0 -0
  22. {omniopt2-6962 → omniopt2-6964}/LICENSE +0 -0
  23. {omniopt2-6962 → omniopt2-6964}/MANIFEST.in +0 -0
  24. {omniopt2-6962 → omniopt2-6964}/README.md +0 -0
  25. {omniopt2-6962 → omniopt2-6964}/apt-dependencies.txt +0 -0
  26. {omniopt2-6962 → omniopt2-6964}/omniopt +0 -0
  27. {omniopt2-6962 → omniopt2-6964}/omniopt2.egg-info/SOURCES.txt +0 -0
  28. {omniopt2-6962 → omniopt2-6964}/omniopt2.egg-info/dependency_links.txt +0 -0
  29. {omniopt2-6962 → omniopt2-6964}/omniopt2.egg-info/requires.txt +0 -0
  30. {omniopt2-6962 → omniopt2-6964}/omniopt2.egg-info/top_level.txt +0 -0
  31. {omniopt2-6962 → omniopt2-6964}/omniopt_docker +0 -0
  32. {omniopt2-6962 → omniopt2-6964}/omniopt_evaluate +0 -0
  33. {omniopt2-6962 → omniopt2-6964}/omniopt_plot +0 -0
  34. {omniopt2-6962 → omniopt2-6964}/omniopt_share +0 -0
  35. {omniopt2-6962 → omniopt2-6964}/requirements.txt +0 -0
  36. {omniopt2-6962 → omniopt2-6964}/setup.cfg +0 -0
  37. {omniopt2-6962 → omniopt2-6964}/setup.py +0 -0
  38. {omniopt2-6962 → omniopt2-6964}/test_requirements.txt +0 -0
@@ -2413,11 +2413,13 @@ def switch_lower_and_upper_if_needed(name: Union[list, str], lower_bound: Union[
2413
2413
  def round_lower_and_upper_if_type_is_int(value_type: str, lower_bound: Union[int, float], upper_bound: Union[int, float]) -> Tuple[Union[int, float], Union[int, float]]:
2414
2414
  if value_type == "int":
2415
2415
  if not helpers.looks_like_int(lower_bound):
2416
- print_yellow(f"{value_type} can only contain integers. You chose {lower_bound}. Will be rounded down to {math.floor(lower_bound)}.")
2416
+ if not args.tests:
2417
+ print_yellow(f"{value_type} can only contain integers. You chose {lower_bound}. Will be rounded down to {math.floor(lower_bound)}.")
2417
2418
  lower_bound = math.floor(lower_bound)
2418
2419
 
2419
2420
  if not helpers.looks_like_int(upper_bound):
2420
- print_yellow(f"{value_type} can only contain integers. You chose {upper_bound}. Will be rounded up to {math.ceil(upper_bound)}.")
2421
+ if not args.tests:
2422
+ print_yellow(f"{value_type} can only contain integers. You chose {upper_bound}. Will be rounded up to {math.ceil(upper_bound)}.")
2421
2423
  upper_bound = math.ceil(upper_bound)
2422
2424
 
2423
2425
  return lower_bound, upper_bound
@@ -3175,11 +3177,13 @@ def calculate_signed_weighted_euclidean_distance(_args: Union[dict, List[float]]
3175
3177
  weights = [float(w.strip()) for w in weights_string.split(",") if w.strip()]
3176
3178
 
3177
3179
  if len(weights) > len(_args):
3178
- print_yellow(f"calculate_signed_weighted_euclidean_distance: Warning: Trimming {len(weights) - len(_args)} extra weight(s): {weights[len(_args):]}")
3180
+ if not args.tests:
3181
+ print_yellow(f"calculate_signed_weighted_euclidean_distance: Warning: Trimming {len(weights) - len(_args)} extra weight(s): {weights[len(_args):]}")
3179
3182
  weights = weights[:len(_args)]
3180
3183
 
3181
3184
  if len(weights) < len(_args):
3182
- print_yellow("calculate_signed_weighted_euclidean_distance: Warning: Not enough weights, filling with 1s")
3185
+ if not args.tests:
3186
+ print_yellow("calculate_signed_weighted_euclidean_distance: Warning: Not enough weights, filling with 1s")
3183
3187
  weights.extend([1] * (len(_args) - len(weights)))
3184
3188
 
3185
3189
  if len(_args) != len(weights):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 6962
3
+ Version: 6964
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: 6962
3
+ Version: 6964
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 = "6962"
8
+ version = "6964"
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