Chris Oswald commited on
Commit
885d256
1 Parent(s): 295b349
Files changed (1) hide show
  1. SPIDER.py +2 -2
SPIDER.py CHANGED
@@ -158,7 +158,7 @@ class CustomBuilderConfig(datasets.BuilderConfig):
158
  'Scan type "{item}" not recognized as valid scan type.\
159
  Verify scan type argument.'
160
  )
161
- print(scan_types)
162
  return scan_types
163
 
164
  def _import_var_types(self):
@@ -284,7 +284,7 @@ class SPIDER(datasets.GeneratorBasedBuilder):
284
  assert len(mask_files) > 0, "No mask files found--check directory path."
285
 
286
  # Filter image and mask data files based on scan types
287
- print(self.config.scan_types)
288
  image_files = [
289
  file for file in image_files
290
  if any(scan_type in file for scan_type in self.config.scan_types)
 
158
  'Scan type "{item}" not recognized as valid scan type.\
159
  Verify scan type argument.'
160
  )
161
+ print(f'Checkpoint1: {scan_types}')
162
  return scan_types
163
 
164
  def _import_var_types(self):
 
284
  assert len(mask_files) > 0, "No mask files found--check directory path."
285
 
286
  # Filter image and mask data files based on scan types
287
+ print(f'Checkpoint2: {self.config.scan_types}')
288
  image_files = [
289
  file for file in image_files
290
  if any(scan_type in file for scan_type in self.config.scan_types)