Skip to content

Commit 2acb77e

Browse files
committed
Explicitly convert to tuple
1 parent f51a78a commit 2acb77e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "YAXArrayBase"
22
uuid = "90b8fcef-0c2d-428d-9c56-5f86629e9d14"
33
authors = ["Fabian Gans <[email protected]>"]
4-
version = "0.2.0"
4+
version = "0.2.1"
55

66
[deps]
77
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"

src/datasets/netcdf.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function add_var(p::NetCDFDataset, T::Type, varname, s, dimnames, attr;
4848
chunksize=s, compress = -1)
4949
dimsdescr = Iterators.flatten(zip(dimnames,s))
5050
nccreate(p.filename, varname, dimsdescr..., atts = attr, t=T, chunksize=chunksize, compress=compress)
51-
NetCDFVariable{T,length(s)}(p.filename,varname,s)
51+
NetCDFVariable{T,length(s)}(p.filename,varname,(s...,))
5252
end
5353

5454
function create_empty(::Type{NetCDFDataset}, path)

0 commit comments

Comments
 (0)