From d50641d55c1205fdb7434adc8953e8175a1ec422 Mon Sep 17 00:00:00 2001 From: Cen Wang Date: Fri, 21 Nov 2025 21:59:37 -0500 Subject: [PATCH] Save experiment results in $PWD/experiments --- simopt/experiment/single.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/simopt/experiment/single.py b/simopt/experiment/single.py index 10af5fcc..d6b911ef 100644 --- a/simopt/experiment/single.py +++ b/simopt/experiment/single.py @@ -41,8 +41,7 @@ from pandas import DataFrame as DataFrame # Setup the experiment directory -SIMOPT_TOPLEVEL = Path(__file__).resolve().parent.parent -EXPERIMENT_DIR = SIMOPT_TOPLEVEL / "experiments" / time.strftime("%Y-%m-%d_%H-%M-%S") +EXPERIMENT_DIR = Path.cwd() / "experiments" / time.strftime("%Y-%m-%d_%H-%M-%S") # Make sure the experiment directory gets created # TODO: move this into __init__