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 28c9946 commit b499d7cCopy full SHA for b499d7c
1 file changed
tests/test_datasets/test_dataset_functions.py
@@ -1869,15 +1869,8 @@ def _dataset_features_is_downloaded(did: int):
1869
1870
1871
def _dataset_data_file_is_downloaded(did: int):
1872
+ #TODO to be updated after minio paths is fixed
1873
cache_directory = Path(openml.config.get_cache_directory()) / "minio/datasets/0000/0001"
- directory = Path(directory)
1874
- if not directory.exists():
1875
- TestBase.logger.info(f"Directory does not exist: {directory}")
1876
- return
1877
- TestBase.logger.info(f"All files under {directory}:")
1878
- for path in directory.rglob("*"):
1879
- if path.is_file():
1880
- TestBase.logger.info(f" - {path}")
1881
if not cache_directory.exists():
1882
return False
1883
return any(f.suffix in (".pq", ".arff") for f in cache_directory.iterdir())
0 commit comments