From 46dce97c4ecdc6d079778c3821de72b041964b33 Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Mon, 31 Jul 2023 19:39:49 -0700 Subject: [PATCH] Fix reports (#227) Signed-off-by: Merwane Hamadi --- agbenchmark/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agbenchmark/utils/utils.py b/agbenchmark/utils/utils.py index 88fdc889..7ddd3bd9 100644 --- a/agbenchmark/utils/utils.py +++ b/agbenchmark/utils/utils.py @@ -188,7 +188,7 @@ def assign_paths(folder_path: Path) -> tuple[str, str, str, str, str]: # if the user has a locally defined challenges path that they've added tests to CHALLENGES_PATH = str(folder_path / "challenges") if not os.path.exists(CHALLENGES_PATH): - Path(__file__).parent / "challenges" + CHALLENGES_PATH = str(Path(__file__).parent.parent / "challenges") if not os.path.exists(reports_location): os.makedirs(reports_location)