Commit c12c6142 authored by shinde's avatar shinde
Browse files

Fixed errors

parent 72fe29e7
Pipeline #27673 failed with stage
in 9 minutes and 14 seconds
#!/usr/bin/env python3
#!/usr/bin/env python1
# Copyright (C) 2021:
# Helmholtz-Zentrum Potsdam Deutsches GeoForschungsZentrum GFZ
......@@ -688,10 +688,10 @@ class JapanDatabase(SpatialiteDatabase):
for material_id in range(5):
dwelling_number = float(str(row[4 + material_id]).replace("-", "0"))
self.insert_dwelling_number(
district_id,
building_type_id,
material_id,
story_number_id,
district_id,
building_type_id,
material_id,
story_number_id,
dwelling_number
)
logger.debug(
......@@ -735,7 +735,11 @@ class JapanDatabase(SpatialiteDatabase):
if material_id == 2:
material_id = 4
self.insert_building_number(
district_id, building_type_id, material_id, story_number_id, building_number
district_id,
building_type_id,
material_id,
story_number_id,
building_number
)
logger.debug(
"Building number for district %s, type %s, %s added"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment