From 821d4a5da922fb06db2deee5643689acd6b3ac2e Mon Sep 17 00:00:00 2001 From: shinde Date: Fri, 27 May 2022 16:50:04 +0200 Subject: [PATCH] Replaced main_usage_status with main_usage --- exposurejapan/commercial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exposurejapan/commercial.py b/exposurejapan/commercial.py index c3e394a..11c0b6f 100644 --- a/exposurejapan/commercial.py +++ b/exposurejapan/commercial.py @@ -496,7 +496,7 @@ class CommercialAggregatedExposure(SpatialiteDatabase): district_id = district_id_result[0] # Get ID of main usage - main_usage_id = add_element_and_get_index(row["main_usage_status"], main_usage_list) + main_usage_id = add_element_and_get_index(row["main_usage"], main_usage_list) # Get ID of construction material if row["construction_material"] == "Unknown": -- GitLab