Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Oct 26, 2024
1 parent e10a3c1 commit 8b84be7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gen_messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

directory = Path(args.directory)

with open(directory / "fail", "r") as f:
with open(directory / "fail.txt", "r") as f:
fail_content = f.readlines()
with open(directory / "pass", "r") as f:
with open(directory / "pass.txt", "r") as f:
pass_content = f.readlines()

pass_content = [line.strip() for line in pass_content if len(line.strip()) > 0]
Expand Down
4 changes: 2 additions & 2 deletions gen_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

directory = Path(args.directory)

with open(directory / "fail", "r") as f:
with open(directory / "fail.txt", "r") as f:
fail_content = f.readlines()
with open(directory / "pass", "r") as f:
with open(directory / "pass.txt", "r") as f:
pass_content = f.readlines()

pass_content = [line.strip() for line in pass_content if len(line.strip()) > 0]
Expand Down

0 comments on commit 8b84be7

Please sign in to comment.