fixed error. Save path of generated CSV was incorrect

This commit is contained in:
Sandro Zimmermann 2025-11-30 00:05:36 +01:00
parent 9772c35330
commit c4da0b0c2f

View File

@ -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)