jordyvl commited on
Commit
1b52332
·
1 Parent(s): e0f3b72

read from bytes

Browse files
Files changed (1) hide show
  1. unit-test_PDFfolder.py +4 -1
unit-test_PDFfolder.py CHANGED
@@ -100,10 +100,13 @@ class PdfFolder(datasets.GeneratorBasedBuilder):
100
 
101
  #full_path = os.path.join(archive_iterator.args[0], file_path)
102
 
103
- archive_path = archive_iterator.args[0]
104
 
105
  extensions = {".pdf", ".PDF"}
106
  for file_path, file_obj in archive_iterator:
 
 
 
107
  folder, labelset, label, filename = file_path.split("/")
108
  if labelset != supposed_labelset:
109
  continue
 
100
 
101
  #full_path = os.path.join(archive_iterator.args[0], file_path)
102
 
103
+ #archive_path = archive_iterator.args[0]
104
 
105
  extensions = {".pdf", ".PDF"}
106
  for file_path, file_obj in archive_iterator:
107
+
108
+ import pdb; pdb.set_trace() # breakpoint 401560d4 //
109
+
110
  folder, labelset, label, filename = file_path.split("/")
111
  if labelset != supposed_labelset:
112
  continue