Skip to content

Commit

Permalink
Explicitly convert to tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
meggart committed Aug 26, 2020
1 parent f51a78a commit 2acb77e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "YAXArrayBase"
uuid = "90b8fcef-0c2d-428d-9c56-5f86629e9d14"
authors = ["Fabian Gans <fgans@bgc-jena.mpg.de>"]
version = "0.2.0"
version = "0.2.1"

[deps]
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
Expand Down
2 changes: 1 addition & 1 deletion src/datasets/netcdf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function add_var(p::NetCDFDataset, T::Type, varname, s, dimnames, attr;
chunksize=s, compress = -1)
dimsdescr = Iterators.flatten(zip(dimnames,s))
nccreate(p.filename, varname, dimsdescr..., atts = attr, t=T, chunksize=chunksize, compress=compress)
NetCDFVariable{T,length(s)}(p.filename,varname,s)
NetCDFVariable{T,length(s)}(p.filename,varname,(s...,))
end

function create_empty(::Type{NetCDFDataset}, path)
Expand Down

2 comments on commit 2acb77e

@meggart
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/20211

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 2acb77e683f636071089e754f1fce601c4504f69
git push origin v0.2.1

Please sign in to comment.