Skip to content

Commit 420adfe

Browse files
0.24.2
load and run
1 parent df771b9 commit 420adfe

2 files changed

Lines changed: 4 additions & 10 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.24.1"
10+
version = "0.24.2"
1111
authors = [
1212
{ name="T. Bartz-Beielstein", email="tbb@bartzundbartz.de" }
1313
]

src/spotpython/utils/file.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,9 @@ def load_and_run_spot_python_experiment(PREFIX=None, filename=None) -> object:
213213
>>> spot_tuner = load_and_run_spot_python_experiment(PREFIX="spot_branin_experiment")
214214
215215
"""
216-
spot_tuner = load_experiment(PREFIX=PREFIX, filename=filename)
217-
pprint.pprint(spot_tuner)
218-
# fun_control = copy.copy(spot_tuner["fun_control"])
219-
# print(gen_design_table(fun_control))
220-
# setup_paths(fun_control["TENSORBOARD_CLEAN"])
221-
# spot_tuner.init_spot_writer()
222-
# spot_tuner.run()
223-
# print(gen_design_table(fun_control=fun_control, spot=spot_tuner))
224-
return spot_tuner
216+
S = load_experiment(PREFIX=PREFIX, filename=filename)
217+
S.run()
218+
return S
225219

226220

227221

0 commit comments

Comments
 (0)