Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lhoestq committed Dec 6, 2023
1 parent a15ea9d commit 809b5cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/datasets/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -1602,7 +1602,6 @@ def _get_modification_time(cached_directory_path):
for cached_directory_path in cached_directory_paths:
config_name = Path(cached_directory_path).parts[-3]
dataset_infos[config_name] = DatasetInfo.from_directory(cached_directory_path)
# builder_configs_parameters = BuilderConfigsParameters(builder_configs=[BuilderConfig(Path(cached_directory_path).parts[-3]) for cached_directory_path in cached_directory_paths])
return DatasetModule(module_path, hash, builder_kwargs, dataset_infos=dataset_infos)
raise FileNotFoundError(f"Dataset {self.name} is not cached in {self.cache_dir}")

Expand Down

0 comments on commit 809b5cc

Please sign in to comment.