From c7247242b8e800cc48df7b6d9b67b4190833c35a Mon Sep 17 00:00:00 2001 From: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com> Date: Sat, 21 Dec 2024 21:48:54 +0900 Subject: [PATCH] add log for output.csv --- simlib/blendnet-sims/scripts/batch.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simlib/blendnet-sims/scripts/batch.py b/simlib/blendnet-sims/scripts/batch.py index ef99936..0541a57 100644 --- a/simlib/blendnet-sims/scripts/batch.py +++ b/simlib/blendnet-sims/scripts/batch.py @@ -112,6 +112,7 @@ print("Analyzing logs...") print("=================") with open("output.csv", "w", newline="") as file: + print(f"Writing results to: {file.name}") csv_writer = csv.writer(file) csv_writer.writerow( [ @@ -234,3 +235,5 @@ with open("output.csv", "w", newline="") as file: csv_row.append(bandwidth_res["max"] * 8 / 1000.0) csv_writer.writerow(csv_row) + + print(f"The outputs have been successfully written to {file.name}")