Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix binning skipping #56

Merged
merged 12 commits into from
Aug 22, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def bin_all_reduced_s3_logs_by_object_key(
completed_tracking_file_path.touch()
else:
with open(file=started_tracking_file_path, mode="r") as io:
started = set(pathlib.Path(path) for path in io.readlines())
started = set(pathlib.Path(path.rstrip("\n")) for path in io.readlines())
with open(file=completed_tracking_file_path, mode="r") as io:
completed = set(pathlib.Path(path) for path in io.readlines())
completed = set(pathlib.Path(path.rstrip("\n")) for path in io.readlines())

if started != completed:
raise ValueError(
Expand Down