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.
- {omniopt2-8394 → omniopt2-8395}/.omniopt.py +7 -1
- {omniopt2-8394 → omniopt2-8395}/PKG-INFO +1 -1
- {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/PKG-INFO +1 -1
- {omniopt2-8394 → omniopt2-8395}/pyproject.toml +1 -1
- {omniopt2-8394 → omniopt2-8395}/.colorfunctions.sh +0 -0
- {omniopt2-8394 → omniopt2-8395}/.dockerignore +0 -0
- {omniopt2-8394 → omniopt2-8395}/.general.sh +0 -0
- {omniopt2-8394 → omniopt2-8395}/.gitignore +0 -0
- {omniopt2-8394 → omniopt2-8395}/.helpers.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_cpu_ram_usage.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_general.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_gpu_usage.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_kde.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_scatter.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_scatter_generation_method.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_scatter_hex.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_time_and_exit_code.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_trial_index_result.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.omniopt_plot_worker.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.random_generator.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/.shellscript_functions +0 -0
- {omniopt2-8394 → omniopt2-8395}/.tests/pylint.rc +0 -0
- {omniopt2-8394 → omniopt2-8395}/.tpe.py +0 -0
- {omniopt2-8394 → omniopt2-8395}/LICENSE +0 -0
- {omniopt2-8394 → omniopt2-8395}/MANIFEST.in +0 -0
- {omniopt2-8394 → omniopt2-8395}/README.md +0 -0
- {omniopt2-8394 → omniopt2-8395}/apt-dependencies.txt +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/SOURCES.txt +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/dependency_links.txt +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/requires.txt +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt2.egg-info/top_level.txt +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt_docker +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt_evaluate +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt_plot +0 -0
- {omniopt2-8394 → omniopt2-8395}/omniopt_share +0 -0
- {omniopt2-8394 → omniopt2-8395}/requirements.txt +0 -0
- {omniopt2-8394 → omniopt2-8395}/setup.cfg +0 -0
- {omniopt2-8394 → omniopt2-8395}/setup.py +0 -0
- {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(
|
|
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:
|
|
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
|
|
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
|