Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan authored Oct 3, 2024
1 parent d886b69 commit 206ab8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dfanalyzer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_size(filename):
def generate_line_batches(filename, max_line):
conf = get_dft_configuration()
for start in range(0, max_line, conf.batch_size):
end = min((start + conf.batch_size - 1) , (max_line - 1))
end = min((start + conf.batch_size - 1) , (max_line))
logging.debug(f"Created a batch for {filename} from [{start}, {end}] lines")
yield filename, start, end

Expand Down

0 comments on commit 206ab8a

Please sign in to comment.