Skip to content

Commit

Permalink
add ZArray to ZGroup arrays dict in zcreate (#21)
Browse files Browse the repository at this point in the history
* add ZArray to ZGroup arrays dict in zcreate

* bump patch version number
  • Loading branch information
visr committed Dec 16, 2019
1 parent 2affbd1 commit fef7be9
Show file tree
Hide file tree
Showing 2 changed files with 4 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 = "Zarr"
uuid = "0a941bbe-ad1d-11e8-39d9-ab76183a1d99"
authors = ["Fabian Gans <fgans@bgc-jena.mpg.de>"]
version = "0.3.2"
version = "0.3.3"

[deps]
AWSCore = "4f1ea46c-232b-54a6-9b17-cc2d0f3e6598"
Expand Down
4 changes: 3 additions & 1 deletion src/ZGroup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,7 @@ zgroup(g::ZGroup, name; attrs=Dict()) = g.groups[name] = zgroup(newsub(g.storage
"Create a new subarray of the group g"
function zcreate(::Type{T},g::ZGroup, name::String, addargs...; kwargs...) where T
newstore = newsub(g.storage,name)
zcreate(T, newstore, addargs...; kwargs...)
z = zcreate(T, newstore, addargs...; kwargs...)
g.arrays[name] = z
return z
end

2 comments on commit fef7be9

@visr
Copy link
Collaborator Author

@visr visr commented on fef7be9 Dec 16, 2019

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/6789

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 Julia TagBot is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.3 -m "<description of version>" fef7be98d60ee2283c768b8375515c9b9c9ae531
git push origin v0.3.3

Please sign in to comment.