Skip to content

Commit f824bc9

Browse files
committed
small API change - passing exp_root to study.run()
1 parent 6d2b1ea commit f824bc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/agentlab/experiments/study.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,13 @@ def run(
298298
strict_reproducibility=False,
299299
n_relaunch=3,
300300
relaunch_errors=True,
301+
exp_root=RESULTS_DIR,
301302
):
302303

303304
self.set_reproducibility_info(
304305
strict_reproducibility=strict_reproducibility, comment=self.comment
305306
)
306-
self.save()
307+
self.save(exp_root=exp_root)
307308

308309
n_exp = len(self.exp_args_list)
309310
last_error_count = None

0 commit comments

Comments
 (0)