File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ Code freeze date: YYYY-MM-DD
1717
1818### Fixed
1919
20+ - Fixed asset count in impact logging message [ #1195 ] ( https://github.com/CLIMADA-project/climada_python/pull/1195 ) .
21+
2022### Deprecated
2123
2224### Removed
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ def impact(
186186 return self ._return_empty (save_mat )
187187 LOGGER .info (
188188 "Calculating impact for %s assets (>0) and %s events." ,
189- exp_gdf . size ,
189+ len ( exp_gdf ) ,
190190 self .n_events ,
191191 )
192192 imp_mat_gen = self .imp_mat_gen (exp_gdf , impf_col )
Original file line number Diff line number Diff line change @@ -441,7 +441,7 @@ def test_calc_insured_impact_no_insurance(self):
441441 self .assertEqual (
442442 logs .output ,
443443 [
444- "INFO:climada.engine.impact_calc:Calculating impact for 150 assets (>0) and 14450 events."
444+ "INFO:climada.engine.impact_calc:Calculating impact for 50 assets (>0) and 14450 events."
445445 ],
446446 )
447447 self .assertEqual (icalc .n_events , len (impact .at_event ))
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ dependencies:
2222 - numexpr>=2.13
2323 - openpyxl>=3.1
2424 - osm-flex>=1.1 # this is only required for running the tutorials, not for the CLIMADA package itself
25- - pandas>=2.3
25+ - pandas>=2.3,<3.0 # petals does not run with 3.0 (... and issue #1215)
2626 - pathos>=0.3
2727 - peewee>=3.18
2828 - pint>=0.24
You can’t perform that action at this time.
0 commit comments