Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix the unfixed in #530

  • Loading branch information...
commit ab30535590a3b58da9f14c3a96a9e2ffdf694451 1 parent 1c228f9
@ismailsunni ismailsunni authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 safe/impact_functions/volcanic/volcano_building_impact.py
View
4 safe/impact_functions/volcanic/volcano_building_impact.py
@@ -92,12 +92,12 @@ def run(self, layers):
attributes = my_hazard.get_data()
rad_m = [x * 1000 for x in radii] # Convert to meters
Z = make_circular_polygon(centers, rad_m, attributes=attributes)
- Z.write_to_file('Marapi_evac_zone_%s.shp' % str(radii)) # To check
+ Z.write_to_file('Marapi_evac_zone_%s.shp' % str(rad_m)) # To check
category_title = 'Radius'
my_hazard = Z
#category_names = ['%s m' % x for x in radii]
- category_names = radii
+ category_names = rad_m
else:
# Use hazard map
category_title = 'KRB'
Please sign in to comment.
Something went wrong with that request. Please try again.