Chris Oswald commited on
Commit
bfb9e3f
1 Parent(s): 25f1b8b
Files changed (1) hide show
  1. SPIDER.py +2 -2
SPIDER.py CHANGED
@@ -498,8 +498,8 @@ class SPIDER(datasets.GeneratorBasedBuilder):
498
 
499
  ## Generate next example
500
  # ----------------------
501
- for example in image_files:
502
- print(example)
503
 
504
  # Extract linking data
505
  scan_id = example.replace('.mha', '')
 
498
 
499
  ## Generate next example
500
  # ----------------------
501
+ for idx, example in enumerate(image_files):
502
+ print(example, image_files[idx+1])
503
 
504
  # Extract linking data
505
  scan_id = example.replace('.mha', '')