Skip to content

Commit 5e5ebc2

Browse files
v0.2.55
fun control cleanup
1 parent 3f1c4d6 commit 5e5ebc2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "spotPython"
10-
version = "0.2.54"
10+
version = "0.2.55"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotPython/hyperparameters/values.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,6 +603,9 @@ def add_core_model_to_fun_control(core_model, fun_control, hyper_dict, filename=
603603
new_hyper_dict = json.load(f)
604604
hyper_dict().load()
605605
fun_control.update({"core_model_hyper_dict": new_hyper_dict[core_model.__name__]})
606+
var_type = get_var_type(fun_control)
607+
var_name = get_var_name(fun_control)
608+
fun_control.update({"var_type": var_type, "var_name": var_name})
606609
return fun_control
607610

608611

0 commit comments

Comments
 (0)