fixed error. Save path of generated CSV was incorrect
This commit is contained in:
parent
9772c35330
commit
c4da0b0c2f
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user