Skip to content

Commit

Permalink
Merge pull request #263 from tonellotto/patch-1
Browse files Browse the repository at this point in the history
Update tsv.py
  • Loading branch information
seanmacavaney authored Apr 24, 2024
2 parents b9ad5aa + 0d47d68 commit 8df7fa3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ir_datasets/formats/tsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def __next__(self):
self.stream = io.TextIOWrapper(self.ctxt.enter_context(self.dlc[self.stream_idx].stream()))
else:
self.stream = io.TextIOWrapper(self.ctxt.enter_context(self.dlc.stream()))
line = ''
while self.pos < self.start:
line = self.stream.readline()
if line != '\n':
Expand Down

0 comments on commit 8df7fa3

Please sign in to comment.