moved data files to separate folder
This commit is contained in:
parent
452f6ad041
commit
7c3700168a
1
.gitignore
vendored
1
.gitignore
vendored
@ -160,3 +160,4 @@ cython_debug/
|
|||||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||||
#.idea/
|
#.idea/
|
||||||
|
|
||||||
|
data/
|
@ -108,7 +108,7 @@ if __name__ == '__main__':
|
|||||||
(Vec2(7.001849, 46.216559), "Saint-Maurice", "right")
|
(Vec2(7.001849, 46.216559), "Saint-Maurice", "right")
|
||||||
]
|
]
|
||||||
|
|
||||||
data = GPSLoader.load_data(f"{name}.csv")
|
data = GPSLoader.load_data(f"data/{name}.csv")
|
||||||
speeds = list(map(lambda s: s.convert(Unit.KM_H).value, data["speeds"]))
|
speeds = list(map(lambda s: s.convert(Unit.KM_H).value, data["speeds"]))
|
||||||
path = Path(data["points"], speeds)
|
path = Path(data["points"], speeds)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user