Skip to content

Commit

Permalink
allow attributes of mixed type
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Apr 30, 2024
1 parent 223d4e4 commit 9434153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataset.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function ZarrDataset(url::AbstractString,mode = "r";
end
elseif mode == "c"
store = Zarr.DirectoryStore(url)
zg = zgroup(store, "",attrs = Dict(attrib))
zg = zgroup(store, "",attrs = Dict{String,Any}(attrib))
iswritable = true
end
ZarrDataset(parentdataset,zg,dimensions,iswritable,maskingvalue)
Expand Down

0 comments on commit 9434153

Please sign in to comment.