Skip to content
Snippets Groups Projects
Commit 7465905c authored by Nils-Arne Dreier's avatar Nils-Arne Dreier
Browse files

fix: use double colon

parent cf893bc7
No related branches found
No related tags found
1 merge request!21improve loco configuration
Pipeline #91473 passed
......@@ -14,7 +14,7 @@ class DataHandler:
mi, ma, st = cell_slice.indices(shape["cell"])
assert st == 1, "non-contiguous cell slices are not supported"
self.t = t0
self.prune_offset = int(var.attrs.get("loco:num_retained_timesteps", 2))
self.prune_offset = int(var.attrs.get("loco::num_retained_timesteps", 2))
self.t_flushed = self.t
chunks = {
dim: chunk_size for dim, chunk_size in zip(var.attrs["_ARRAY_DIMENSIONS"], var.chunks)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment