From 18936a52c6a139729c52b52c551f5b01edc1390b Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sun, 26 May 2024 17:50:22 +0200 Subject: [PATCH] wip --- locustfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locustfile.py b/locustfile.py index 4949883da..aaa451297 100644 --- a/locustfile.py +++ b/locustfile.py @@ -15,7 +15,7 @@ class OSRMTasks(TaskSet): with open(gps_traces_file_path, 'r') as file: reader = csv.DictReader(file) for row in reader: - coord = (row['Latitude'], row['Longitude']) + coord = (float(row['Latitude']), float(row['Longitude'])) self.coordinates.append(coord) self.tracks[row['TrackID']].append(coord) self.track_ids = list(self.tracks.keys())