Skip to content

Improve impact calc error messages #669

@chahank

Description

@chahank

Currently, the ImpactCalc.impact() method generates non-understandable error messages if the input data is inconsistent. For instance, if the input Hazard object has type Hazard.haz_type = '', the impact computation fails. Smilarly is probably the case if the Exposures has no properly defined impf_haz_type column.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions