Datasets:

ArXiv:
License:
system HF staff commited on
Commit
0da2d0f
1 Parent(s): f101ff0

Update files from the datasets library (from 1.16.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.16.0

Files changed (1) hide show
  1. 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: {})".format(
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 = [