Skip to content

Commit 56685c2

Browse files
authored
Enable upgrade property chunking, like master.
1 parent 60154df commit 56685c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixio/cmd/upgrade.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def update_alias_dims():
192192

193193

194194
def create_property(hfile, name, dtype, data, definition=None, unit=None):
195-
prop = hfile.create_dataset(name, dtype=dtype, data=data)
195+
prop = hfile.create_dataset(name, dtype=dtype, data=data, chunks=True)
196196
prop.attrs["name"] = name.split("/")[-1]
197197
prop.attrs["entity_id"] = nix.util.create_id()
198198
prop.attrs["created_at"] = nix.util.time_to_str(nix.util.now_int())

0 commit comments

Comments
 (0)