Skip to content

Commit 58239c6

Browse files
forward MFVariable to MFCFVariable for storage parameters
1 parent 1568d4c commit 58239c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/multifile.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ end
251251

252252
"""
253253
storage,chunksizes = chunking(v::MFVariable)
254+
storage,chunksizes = chunking(v::MFCFVariable)
254255
255256
Return the storage type (`:contiguous` or `:chunked`) and the chunk sizes of the varable
256257
`v` corresponding to the first file. If the first file in the collection
@@ -268,5 +269,8 @@ function chunking(v::MFVariable)
268269
end
269270

270271
deflate(v::MFVariable) = deflate(v.ds.ds[1][name(v)])
271-
272272
checksum(v::MFVariable) = checksum(v.ds.ds[1][name(v)])
273+
274+
chunking(v::MFCFVariable) = chunking(v.var)
275+
deflate(v::MFCFVariable) = deflate(v.var)
276+
checksum(v::MFCFVariable) = checksum(v.var)

0 commit comments

Comments
 (0)