Skip to content

Commit 929288f

Browse files
committed
minio parent
1 parent 2c68a32 commit 929288f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_datasets/test_dataset_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ def _dataset_features_is_downloaded(did: int):
18681868
def _dataset_data_file_is_downloaded(dataset: OpenMLDataset):
18691869
#TODO to be updated after minio paths is fixed
18701870
if dataset._parquet_url is not None:
1871-
pq_directory = Path(openml.config.get_cache_directory()) / Path(openml.config.get_minio_download_path(dataset._parquet_url))
1871+
pq_directory = Path(openml.config.get_cache_directory()) / Path(openml.config.get_minio_download_path(dataset._parquet_url)).parent
18721872
if pq_directory.exists():
18731873
return any(f.suffix == ".pq" for f in pq_directory.iterdir())
18741874
arff_directory = Path(openml.config.get_cache_directory()) / "data/v1/download" / str(dataset.id)

0 commit comments

Comments
 (0)