Skip to content

Commit 26bfb17

Browse files
committed
Add necessary requirement for current version of zarr
1 parent 72ab4f6 commit 26bfb17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ h5netcdf==1.5.0
1515
impactlab-tools==0.6.0
1616
p_tqdm==1.4.2
1717
pyarrow==19.0.0
18+
numcodecs==0.15.1

src/dscim/preprocessing/input_damages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ def prep(
809809
if damages[v].dtype == object:
810810
damages[v] = damages[v].astype("unicode")
811811

812-
damages['gcm'] = damages['gcm'].astype("U" + str(max_gcm_len))
812+
damages["gcm"] = damages["gcm"].astype("U" + str(max_gcm_len))
813813

814814
if i == 0:
815815
damages.to_zarr(

0 commit comments

Comments
 (0)