omniopt2 8458__tar.gz → 8461__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.

Files changed (40) hide show
  1. {omniopt2-8458 → omniopt2-8461}/.omniopt.py +9 -4
  2. {omniopt2-8458 → omniopt2-8461}/PKG-INFO +1 -1
  3. {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8458 → omniopt2-8461}/pyproject.toml +1 -1
  5. {omniopt2-8458 → omniopt2-8461}/.colorfunctions.sh +0 -0
  6. {omniopt2-8458 → omniopt2-8461}/.dockerignore +0 -0
  7. {omniopt2-8458 → omniopt2-8461}/.general.sh +0 -0
  8. {omniopt2-8458 → omniopt2-8461}/.gitignore +0 -0
  9. {omniopt2-8458 → omniopt2-8461}/.helpers.py +0 -0
  10. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8458 → omniopt2-8461}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8458 → omniopt2-8461}/.random_generator.py +0 -0
  21. {omniopt2-8458 → omniopt2-8461}/.shellscript_functions +0 -0
  22. {omniopt2-8458 → omniopt2-8461}/.tests/pylint.rc +0 -0
  23. {omniopt2-8458 → omniopt2-8461}/.tpe.py +0 -0
  24. {omniopt2-8458 → omniopt2-8461}/LICENSE +0 -0
  25. {omniopt2-8458 → omniopt2-8461}/MANIFEST.in +0 -0
  26. {omniopt2-8458 → omniopt2-8461}/README.md +0 -0
  27. {omniopt2-8458 → omniopt2-8461}/apt-dependencies.txt +0 -0
  28. {omniopt2-8458 → omniopt2-8461}/omniopt +0 -0
  29. {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/requires.txt +0 -0
  32. {omniopt2-8458 → omniopt2-8461}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-8458 → omniopt2-8461}/omniopt_docker +0 -0
  34. {omniopt2-8458 → omniopt2-8461}/omniopt_evaluate +0 -0
  35. {omniopt2-8458 → omniopt2-8461}/omniopt_plot +0 -0
  36. {omniopt2-8458 → omniopt2-8461}/omniopt_share +0 -0
  37. {omniopt2-8458 → omniopt2-8461}/requirements.txt +0 -0
  38. {omniopt2-8458 → omniopt2-8461}/setup.cfg +0 -0
  39. {omniopt2-8458 → omniopt2-8461}/setup.py +0 -0
  40. {omniopt2-8458 → omniopt2-8461}/test_requirements.txt +0 -0
@@ -3306,7 +3306,7 @@ def parse_experiment_parameters() -> None:
3306
3306
  # Remove duplicates by 'name' key preserving order
3307
3307
  params = list({p['name']: p for p in params}.values())
3308
3308
 
3309
- experiment_parameters = params
3309
+ experiment_parameters = params # type: ignore[assignment]
3310
3310
 
3311
3311
  def check_factorial_range() -> None:
3312
3312
  if args.model and args.model == "FACTORIAL":
@@ -8471,16 +8471,21 @@ def get_model_from_name(name: str) -> Any:
8471
8471
  return gen
8472
8472
  raise ValueError(f"Unknown or unsupported model: {name}")
8473
8473
 
8474
- def get_name_from_model(model: Any) -> Optional[str]:
8474
+ def get_name_from_model(model: Any) -> str:
8475
8475
  if not isinstance(SUPPORTED_MODELS, (list, set, tuple)):
8476
- return None
8476
+ raise RuntimeError("get_model_from_name: SUPPORTED_MODELS was not a list, set or tuple. Cannot continue")
8477
8477
 
8478
8478
  model_str = model.value if hasattr(model, "value") else str(model)
8479
8479
 
8480
8480
  model_str_lower = model_str.lower()
8481
8481
  model_map = {m.lower(): m for m in SUPPORTED_MODELS}
8482
8482
 
8483
- return model_map.get(model_str_lower, None)
8483
+ ret = model_map.get(model_str_lower, None)
8484
+
8485
+ if ret is None:
8486
+ raise RuntimeError("get_name_from_model: failed to get Model")
8487
+
8488
+ return ret
8484
8489
 
8485
8490
  def parse_generation_strategy_string(gen_strat_str: str) -> tuple[list[dict[str, int]], int]:
8486
8491
  gen_strat_list = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8458
3
+ Version: 8461
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: 8458
3
+ Version: 8461
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 = "8458"
8
+ version = "8461"
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
File without changes