Skip to content

Commit

Permalink
Update arviz_example_data artifact to v0.2.0 - retry 2 (#28)
Browse files Browse the repository at this point in the history
* [create-pull-request] automated change

* Assume only that no examples have been removed

* Bump patch version number

* Add new dataset to doctest

* Fix signature in docstring

* Fix number of entries in doctest

---------

Co-authored-by: sethaxen <[email protected]>
  • Loading branch information
sethaxen and sethaxen authored Mar 11, 2024
1 parent f6a0637 commit 86b1187
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ArviZExampleData"
uuid = "2f96bb34-afd9-46ae-bcd0-9b2d4372fe3c"
authors = ["Seth Axen <[email protected]> and contributors"]
version = "0.1.8"
version = "0.1.9"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Expand Down
2 changes: 1 addition & 1 deletion src/describe.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
describe_example_data() -> String
describe_example_data(name) -> String
Return a string containing descriptions of all available datasets.
Expand Down
3 changes: 2 additions & 1 deletion src/load.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ A file is downloaded only when it is requested and then cached for future use.
```jldoctest
julia> keys(load_example_data())
KeySet for a OrderedCollections.OrderedDict{String, ArviZExampleData.AbstractFileMetadata} with 9 entries. Keys:
KeySet for a OrderedCollections.OrderedDict{String, ArviZExampleData.AbstractFileMetadata} with 10 entries. Keys:
"centered_eight"
"non_centered_eight"
"radon"
"rugby"
"rugby_field"
"regression1d"
"regression10d"
"classification1d"
Expand Down
2 changes: 1 addition & 1 deletion test/load.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ using Test
]
datasets = load_example_data()
@test datasets isa AbstractDict{String,ArviZExampleData.AbstractFileMetadata}
@test issubset(keys(datasets), names)
@test issubset(names, keys(datasets))
for name in keys(datasets)
idata = load_example_data(name)
@test idata isa InferenceData
Expand Down

2 comments on commit 86b1187

@sethaxen
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/102660

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.1.9 -m "<description of version>" 86b1187e01caae9652497725b852b99a1655b1cf
git push origin v0.1.9

Please sign in to comment.