We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8726314 commit 264677aCopy full SHA for 264677a
2 files changed
openml/runs/functions.py
@@ -555,7 +555,7 @@ def get_run(run_id):
555
run : OpenMLRun
556
Run corresponding to ID, fetched from the server.
557
"""
558
- run_dir = config.get_cache_directory(), "runs", run_id
+ run_dir = os.path.join(config.get_cache_directory(), "runs", str(run_id))
559
run_file = os.path.join(run_dir, "description.xml")
560
561
try:
openml/setups/functions.py
@@ -87,7 +87,7 @@ def get_setup(setup_id):
87
OpenMLSetup
88
an initialized openml setup object
89
90
- setup_dir = config.get_cache_directory(), "runs", setup_id
+ setup_dir = os.path.join(config.get_cache_directory(), "setups", str(setup_id))
91
setup_file = os.path.join(setup_dir, "description.xml")
92
93
0 commit comments