Spaces:
Running
Running
Fixed parsing of the configs
Browse files- scripts/runner.py +4 -4
scripts/runner.py
CHANGED
@@ -25,10 +25,10 @@ from game_reasoning_arena.configs.config_parser import (
|
|
25 |
parse_config
|
26 |
)
|
27 |
|
28 |
-
# Ensure the src directory is in the Python path
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
|
33 |
# Set the soft and hard core file size limits to 0 (disable core dumps)
|
34 |
resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
|
|
|
25 |
parse_config
|
26 |
)
|
27 |
|
28 |
+
# Ensure the src directory is in the Python path
|
29 |
+
current_dir = Path(__file__).parent
|
30 |
+
src_dir = current_dir / ".." / "src"
|
31 |
+
sys.path.insert(0, str(src_dir.resolve()))
|
32 |
|
33 |
# Set the soft and hard core file size limits to 0 (disable core dumps)
|
34 |
resource.setrlimit(resource.RLIMIT_CORE, (0, 0))
|