Closed luseverin closed 2 months ago
Thanks for the review! I think I have adressed all your comments. I also modified the author's list and changelog. Let me know if there's anything else.
Good catch!
The compatibility test with petals is failing, but I think it is unrelated to this PR. @emanuel-schmid @luseverin are we ready to merge?
It also does not seem to me that the tests failing are related to the PR. So ready to merge from my side.
Thanks a lot!
Changes proposed in this PR:
ImpactCalc.impact(exposures, impfset, hazard)
to handle AttributeError arising when an impact function id contained in the exposures has no matching impact function in the impact function set.AttributeError: 'list' has no attribute 'calc_mdr'
to a more explanatory error messageThis PR fixes #669 (reopened)
PR Author Checklist
develop
)PR Reviewer Checklist