omniopt2 8394__tar.gz → 8395__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-8394 → omniopt2-8395}/.omniopt.py +7 -1
  2. {omniopt2-8394 → omniopt2-8395}/PKG-INFO +1 -1
  3. {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8394 → omniopt2-8395}/pyproject.toml +1 -1
  5. {omniopt2-8394 → omniopt2-8395}/.colorfunctions.sh +0 -0
  6. {omniopt2-8394 → omniopt2-8395}/.dockerignore +0 -0
  7. {omniopt2-8394 → omniopt2-8395}/.general.sh +0 -0
  8. {omniopt2-8394 → omniopt2-8395}/.gitignore +0 -0
  9. {omniopt2-8394 → omniopt2-8395}/.helpers.py +0 -0
  10. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8394 → omniopt2-8395}/.random_generator.py +0 -0
  21. {omniopt2-8394 → omniopt2-8395}/.shellscript_functions +0 -0
  22. {omniopt2-8394 → omniopt2-8395}/.tests/pylint.rc +0 -0
  23. {omniopt2-8394 → omniopt2-8395}/.tpe.py +0 -0
  24. {omniopt2-8394 → omniopt2-8395}/LICENSE +0 -0
  25. {omniopt2-8394 → omniopt2-8395}/MANIFEST.in +0 -0
  26. {omniopt2-8394 → omniopt2-8395}/README.md +0 -0
  27. {omniopt2-8394 → omniopt2-8395}/apt-dependencies.txt +0 -0
  28. {omniopt2-8394 → omniopt2-8395}/omniopt +0 -0
  29. {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/requires.txt +0 -0
  32. {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-8394 → omniopt2-8395}/omniopt_docker +0 -0
  34. {omniopt2-8394 → omniopt2-8395}/omniopt_evaluate +0 -0
  35. {omniopt2-8394 → omniopt2-8395}/omniopt_plot +0 -0
  36. {omniopt2-8394 → omniopt2-8395}/omniopt_share +0 -0
  37. {omniopt2-8394 → omniopt2-8395}/requirements.txt +0 -0
  38. {omniopt2-8394 → omniopt2-8395}/setup.cfg +0 -0
  39. {omniopt2-8394 → omniopt2-8395}/setup.py +0 -0
  40. {omniopt2-8394 → omniopt2-8395}/test_requirements.txt +0 -0
@@ -10500,17 +10500,23 @@ def build_gui_url(config: argparse.Namespace) -> str:
10500
10500
 
10501
10501
  def collect_params(config: argparse.Namespace) -> dict:
10502
10502
  params = {}
10503
+ user_home = os.path.expanduser("~")
10504
+
10503
10505
  for attr, value in vars(config).items():
10504
10506
  if attr == "run_program":
10505
10507
  params[attr] = global_vars["joined_run_program"]
10506
10508
  elif attr == "parameter" and value is not None:
10507
10509
  params.update(process_parameters(config.parameter))
10510
+ elif attr == "root_venv_dir":
10511
+ if value is not None and os.path.abspath(value) != os.path.abspath(user_home):
10512
+ params[attr] = value
10508
10513
  elif isinstance(value, bool):
10509
10514
  params[attr] = int(value)
10510
10515
  elif isinstance(value, list):
10511
10516
  params[attr] = value
10512
10517
  elif value is not None:
10513
10518
  params[attr] = value
10519
+
10514
10520
  return params
10515
10521
 
10516
10522
  def process_parameters(parameters: list) -> dict:
@@ -10563,7 +10569,7 @@ def get_base_url() -> str:
10563
10569
  def write_ui_url() -> None:
10564
10570
  url = build_gui_url(args)
10565
10571
  with open(get_current_run_folder("ui_url.txt"), mode="a", encoding="utf-8") as myfile:
10566
- myfile.write(decode_if_base64(url))
10572
+ myfile.write(url)
10567
10573
 
10568
10574
  def handle_random_steps() -> None:
10569
10575
  if args.parameter and args.continue_previous_job and random_steps <= 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8394
3
+ Version: 8395
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: 8394
3
+ Version: 8395
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 = "8394"
8
+ version = "8395"
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