Skip to content

Commit a373c4e

Browse files
0.22.1
load result return valsfixed
1 parent c9a30ee commit a373c4e

2 files changed

Lines changed: 3 additions & 2 deletions

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.22.0"
10+
version = "0.22.1"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotpython/utils/file.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def load_result(PREFIX) -> None:
113113
if PREFIX is None:
114114
raise ValueError("No PREFIX provided.")
115115
PKL_NAME = PREFIX + "_res.pkl"
116-
load_experiment(PKL_NAME)
116+
spot_tuner, fun_control, design_control, surrogate_control, optimizer_control = load_experiment(PKL_NAME=PKL_NAME)
117+
return spot_tuner, fun_control, design_control, surrogate_control, optimizer_control
117118

118119

119120
def load_experiment(PREFIX=None, PKL_NAME=None):

0 commit comments

Comments
 (0)