Skip to content

Commit 764352e

Browse files
committed
Formatting
1 parent 2d02dd0 commit 764352e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

climada/entity/exposures/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,9 @@ def __init__(
406406

407407
if geodata.shape[0] > 0:
408408
value_unit = self._consolidate(geodata.iloc[0], "value_unit", value_unit)
409-
self.value_unit = self._consolidate(meta, "value_unit", value_unit, DEF_VALUE_UNIT)
409+
self.value_unit = self._consolidate(
410+
meta, "value_unit", value_unit, DEF_VALUE_UNIT
411+
)
410412

411413
crs = self._consolidate(meta, "crs", crs, equals=u_coord.equal_crs)
412414

climada/entity/exposures/test/test_base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,9 +448,7 @@ def test_handling_unit_conflicts_pass(self):
448448
def test_io_hdf5_pass(self):
449449
"""write and read hdf5"""
450450
exp = Exposures(
451-
pd.read_excel(ENT_TEMPLATE_XLS),
452-
crs="epsg:32632",
453-
ref_year = 2020
451+
pd.read_excel(ENT_TEMPLATE_XLS), crs="epsg:32632", ref_year = 2020
454452
)
455453

456454
# add another geometry column

0 commit comments

Comments
 (0)