Skip to content

Commit

Permalink
Fixed wrong check in Exposure.read_all
Browse files Browse the repository at this point in the history
  • Loading branch information
micheles committed Oct 21, 2024
1 parent 6e27123 commit ff750fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion openquake/risklib/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,6 @@ def read_all(fnames, calculation_mode='', ignore_missing_costs=(),
cc = exposure.cost_calculator
ae(cc.cost_types, exp.cost_calculator.cost_types)
ae(exposure.occupancy_periods, exp.occupancy_periods)
ae(exposure.area, exp.area)
exp.exposures = [os.path.splitext(os.path.basename(f))[0]
for f in fnames]
assets_df = pandas.concat(dfs)
Expand Down

0 comments on commit ff750fe

Please sign in to comment.