Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Add output path debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarbuzzi committed Jul 3, 2024
1 parent a20a6af commit 0a36369
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def filter_and_dump_if_non_empty(type_records: List[Type_Record_T],
If there are no records after we filter, don't dump json. otherwise,
dump all records as JSON.
"""
print(f"{output_path=}")
# Make output directory if it doesn't exist
output_path.parent.mkdir(parents=True, exist_ok=True)

Expand All @@ -147,6 +148,7 @@ def filter_and_dump_if_non_empty(type_records: List[Type_Record_T],

output_directory = Path(args.output_directory).joinpath(
input_directory.name)
print(f"{output_directory=}")
filter_and_dump_if_non_empty(
type_records, BenchmarkMetricType.BiggerIsBetter,
output_directory.joinpath(
Expand Down

0 comments on commit 0a36369

Please sign in to comment.