From 3ca1cee83740ecaa0964e30bd78505ae97702823 Mon Sep 17 00:00:00 2001 From: Javier Arroyo Date: Fri, 10 May 2024 16:55:56 +0200 Subject: [PATCH] Take parent dir as default in vectorized environment test. --- testing/test_boptestGymEnv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/test_boptestGymEnv.py b/testing/test_boptestGymEnv.py index f10d2dd..bfed024 100644 --- a/testing/test_boptestGymEnv.py +++ b/testing/test_boptestGymEnv.py @@ -435,7 +435,8 @@ def setUp(self): the terminal when invoking this test. ''' - boptest_root = "./" + # Take parent directory as default + boptest_root = os.path.dirname(os.path.abspath(__file__)) # Get the argument from command line when use Linux if len(sys.argv) >= 2: