Datasets:
Update files from the datasets library (from 1.16.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.16.0
- medical_dialog.py +1 -3
medical_dialog.py
CHANGED
@@ -123,9 +123,7 @@ class MedicalDialog(datasets.GeneratorBasedBuilder):
|
|
123 |
path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
|
124 |
if not os.path.exists(path_to_manual_file):
|
125 |
raise FileNotFoundError(
|
126 |
-
"{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('medical_dialog', data_dir=...)`. Manual download instructions: {})"
|
127 |
-
path_to_manual_file, self.manual_download_instructions
|
128 |
-
)
|
129 |
)
|
130 |
|
131 |
filepaths = [
|
|
|
123 |
path_to_manual_file = os.path.abspath(os.path.expanduser(dl_manager.manual_dir))
|
124 |
if not os.path.exists(path_to_manual_file):
|
125 |
raise FileNotFoundError(
|
126 |
+
f"{path_to_manual_file} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('medical_dialog', data_dir=...)`. Manual download instructions: {self.manual_download_instructions})"
|
|
|
|
|
127 |
)
|
128 |
|
129 |
filepaths = [
|