Skip to content

Commit

Permalink
add some useful comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gargnitingoogle committed Oct 11, 2024
1 parent 9f3397e commit 78906ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,8 @@ def writeOutput(
f"Error while creating new output row for key={key},"
f" scenario={scenario}, epoch={i}, r={r}: {e}"
)
# Put "ERROR" in each field in the row to indicate that this datsa-row
# could not be parsed.
rows.append((("ERROR",) * len(_HEADER)))

export_to_csv(output_file_path=args.output_file, header=_HEADER, rows=rows)
Expand Down
2 changes: 2 additions & 0 deletions perfmetrics/scripts/testing_on_gke/examples/fio/parse_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ def writeOutput(
f"Error while creating new output row for key={key},"
f" scenario={scenario}, epoch={i}, r={r}: {e}"
)
# Put "ERROR" in each field in the row to indicate that this datsa-row
# could not be parsed.
rows.append((("ERROR",) * len(_HEADER)))

export_to_csv(output_file_path=args.output_file, header=_HEADER, rows=rows)
Expand Down

0 comments on commit 78906ea

Please sign in to comment.