andreped commited on
Commit
d1f9f41
1 Parent(s): b6f8486

Fixed license.md typo in generate examples

Browse files
Files changed (1) hide show
  1. AeroPath.py +1 -1
AeroPath.py CHANGED
@@ -154,7 +154,7 @@ class AeroPath(datasets.GeneratorBasedBuilder):
154
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
155
  for patient_id in os.listdir(self.DATA_DIR):
156
  curr_path = os.path.join(self.DATA_DIR, patient_id)
157
- if patient_id in ["README.md", "licence.md"]:
158
  continue
159
  yield patient_id, {
160
  "ct": os.path.join(curr_path, patient_id + "_CT_HR.nii.gz"),
 
154
  # The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
155
  for patient_id in os.listdir(self.DATA_DIR):
156
  curr_path = os.path.join(self.DATA_DIR, patient_id)
157
+ if patient_id in ["README.md", "license.md"]:
158
  continue
159
  yield patient_id, {
160
  "ct": os.path.join(curr_path, patient_id + "_CT_HR.nii.gz"),