Skip to content

Commit 8863219

Browse files
authored
Merge pull request #911 from mapswipe/dev
Release [Hotfix] Hot data calcualtion fix
2 parents 5a95c28 + a2eaa4b commit 8863219

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mapswipe_workers/mapswipe_workers/generate_stats/tasking_manager_geometries.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ def load_data(project_id: str, gzipped_csv_file: str) -> list:
5151
"yes_count": int(column_index_map.get("1_count", 0)),
5252
"maybe_count": int(column_index_map.get("2_count", 0)),
5353
"bad_imagery_count": int(column_index_map.get("3_count", 0)),
54-
"no_share": float(column_index_map.get("0_count", 0)),
55-
"yes_share": float(column_index_map.get("1_count", 0)),
56-
"maybe_share": float(column_index_map.get("2_count", 0)),
57-
"bad_imagery_share": float(column_index_map.get("3_count", 0)),
54+
"no_share": float(column_index_map.get("0_share", 0)),
55+
"yes_share": float(column_index_map.get("1_share", 0)),
56+
"maybe_share": float(column_index_map.get("2_share", 0)),
57+
"bad_imagery_share": float(column_index_map.get("3_share", 0)),
5858
"wkt": tile_functions.geometry_from_tile_coords(
5959
task_x, task_y, task_z
6060
),

0 commit comments

Comments
 (0)