andreped commited on
Commit
b6f8486
·
1 Parent(s): fd6eb39

Fixed patient_id typo

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 patiend_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", "licence.md"]:
158
  continue
159
  yield patient_id, {
160
  "ct": os.path.join(curr_path, patient_id + "_CT_HR.nii.gz"),