omniopt2 8456__tar.gz → 8458__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-8456 → omniopt2-8458}/.omniopt.py +10 -7
  2. {omniopt2-8456 → omniopt2-8458}/PKG-INFO +1 -1
  3. {omniopt2-8456 → omniopt2-8458}/omniopt2.egg-info/PKG-INFO +1 -1
  4. {omniopt2-8456 → omniopt2-8458}/pyproject.toml +1 -1
  5. {omniopt2-8456 → omniopt2-8458}/.colorfunctions.sh +0 -0
  6. {omniopt2-8456 → omniopt2-8458}/.dockerignore +0 -0
  7. {omniopt2-8456 → omniopt2-8458}/.general.sh +0 -0
  8. {omniopt2-8456 → omniopt2-8458}/.gitignore +0 -0
  9. {omniopt2-8456 → omniopt2-8458}/.helpers.py +0 -0
  10. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_cpu_ram_usage.py +0 -0
  11. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_general.py +0 -0
  12. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_gpu_usage.py +0 -0
  13. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_kde.py +0 -0
  14. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_scatter.py +0 -0
  15. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_scatter_generation_method.py +0 -0
  16. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_scatter_hex.py +0 -0
  17. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_time_and_exit_code.py +0 -0
  18. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_trial_index_result.py +0 -0
  19. {omniopt2-8456 → omniopt2-8458}/.omniopt_plot_worker.py +0 -0
  20. {omniopt2-8456 → omniopt2-8458}/.random_generator.py +0 -0
  21. {omniopt2-8456 → omniopt2-8458}/.shellscript_functions +0 -0
  22. {omniopt2-8456 → omniopt2-8458}/.tests/pylint.rc +0 -0
  23. {omniopt2-8456 → omniopt2-8458}/.tpe.py +0 -0
  24. {omniopt2-8456 → omniopt2-8458}/LICENSE +0 -0
  25. {omniopt2-8456 → omniopt2-8458}/MANIFEST.in +0 -0
  26. {omniopt2-8456 → omniopt2-8458}/README.md +0 -0
  27. {omniopt2-8456 → omniopt2-8458}/apt-dependencies.txt +0 -0
  28. {omniopt2-8456 → omniopt2-8458}/omniopt +0 -0
  29. {omniopt2-8456 → omniopt2-8458}/omniopt2.egg-info/SOURCES.txt +0 -0
  30. {omniopt2-8456 → omniopt2-8458}/omniopt2.egg-info/dependency_links.txt +0 -0
  31. {omniopt2-8456 → omniopt2-8458}/omniopt2.egg-info/requires.txt +0 -0
  32. {omniopt2-8456 → omniopt2-8458}/omniopt2.egg-info/top_level.txt +0 -0
  33. {omniopt2-8456 → omniopt2-8458}/omniopt_docker +0 -0
  34. {omniopt2-8456 → omniopt2-8458}/omniopt_evaluate +0 -0
  35. {omniopt2-8456 → omniopt2-8458}/omniopt_plot +0 -0
  36. {omniopt2-8456 → omniopt2-8458}/omniopt_share +0 -0
  37. {omniopt2-8456 → omniopt2-8458}/requirements.txt +0 -0
  38. {omniopt2-8456 → omniopt2-8458}/setup.cfg +0 -0
  39. {omniopt2-8456 → omniopt2-8458}/setup.py +0 -0
  40. {omniopt2-8456 → omniopt2-8458}/test_requirements.txt +0 -0
@@ -333,7 +333,7 @@ def show_func_name_wrapper(func: F) -> F:
333
333
 
334
334
  return result
335
335
 
336
- return wrapper # type: ignore
336
+ return wrapper # type: ignore
337
337
 
338
338
  def log_time_and_memory_wrapper(func: F) -> F:
339
339
  @functools.wraps(func)
@@ -360,7 +360,7 @@ def log_time_and_memory_wrapper(func: F) -> F:
360
360
 
361
361
  return result
362
362
 
363
- return wrapper # type: ignore
363
+ return wrapper # type: ignore
364
364
 
365
365
  def _record_stats(func_name: str, elapsed: float, mem_diff: float, mem_after: float, mem_peak: float) -> None:
366
366
  global _total_time
@@ -3597,11 +3597,11 @@ def _add_to_csv_rewrite_file(file_path: str, rows: List[list], existing_heading:
3597
3597
  writer = csv.writer(tmp_file)
3598
3598
  writer.writerow(all_headings)
3599
3599
  for row in rows[1:]:
3600
- tmp_file.writerow([
3600
+ tmp_file.writerow([ # type: ignore[attr-defined]
3601
3601
  row[existing_heading.index(h)] if h in existing_heading else ""
3602
3602
  for h in all_headings
3603
3603
  ])
3604
- tmp_file.writerow([
3604
+ tmp_file.writerow([ # type: ignore[attr-defined]
3605
3605
  formatted_data[new_heading.index(h)] if h in new_heading else ""
3606
3606
  for h in all_headings
3607
3607
  ])
@@ -6572,9 +6572,12 @@ def try_insert_job(csv_path: str, arm_params: Dict, result: Any, i: int, arm_par
6572
6572
  if err_msgs is None:
6573
6573
  print_red("try_insert_job: err_msgs was None")
6574
6574
  else:
6575
- if err_msg not in err_msgs:
6576
- print_red(err_msg)
6577
- err_msgs.append(err_msg)
6575
+ if isinstance(err_msgs, list):
6576
+ if err_msg not in err_msgs:
6577
+ print_red(err_msg)
6578
+ err_msgs.append(err_msg)
6579
+ elif isinstance(err_msgs, str):
6580
+ err_msgs += f"\n{err_msg}"
6578
6581
 
6579
6582
  return cnt
6580
6583
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: omniopt2
3
- Version: 8456
3
+ Version: 8458
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: 8456
3
+ Version: 8458
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 = "8456"
8
+ version = "8458"
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