From c4da0b0c2f48f144642f1a6aa766ae19105d6a78 Mon Sep 17 00:00:00 2001 From: Sandro Zimmermann Date: Sun, 30 Nov 2025 00:05:36 +0100 Subject: [PATCH] fixed error. Save path of generated CSV was incorrect --- py/generate_synthetic_shots.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/generate_synthetic_shots.py b/py/generate_synthetic_shots.py index 2811ef7..f93e76e 100644 --- a/py/generate_synthetic_shots.py +++ b/py/generate_synthetic_shots.py @@ -68,7 +68,7 @@ for i in xy: elif A > A1: dataset.append([0, i[0], i[1]]) -with open('../data/synthetic_shots.csv', 'w', newline='') as csvfile: +with open('data/synthetic_shots.csv', 'w', newline='') as csvfile: fieldnames = ['points', 'x', 'y'] writer = csv.writer(csvfile) writer.writerow(fieldnames)