Skip to content

Commit

Permalink
Remove dependency on InferenceObjectsNetCDF (#11)
Browse files Browse the repository at this point in the history
* Replace InferenceObjectsNetCDF with InferenceObjects extension

* Increment patch number

* Add comment
  • Loading branch information
sethaxen authored Jul 24, 2023
1 parent bd6e190 commit 78e8abf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
9 changes: 5 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name = "ArviZExampleData"
uuid = "2f96bb34-afd9-46ae-bcd0-9b2d4372fe3c"
authors = ["Seth Axen <[email protected]> and contributors"]
version = "0.1.4"
version = "0.1.5"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
DataDeps = "124859b0-ceae-595e-8997-d05f6a7a8dfe"
InferenceObjectsNetCDF = "7cb6d088-77df-42c3-8f05-5ca8d42599d1"
InferenceObjects = "b5cf5a8d-e756-4ee3-b014-01d49d192c00"
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1"
NCDatasets = "85f8d34a-cbdd-5861-8df4-14fed0d494ab"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
StructTypes = "856f2bd8-1eba-4b0a-8007-ebc267875bd4"

[compat]
DataDeps = "0.7"
InferenceObjects = "0.1, 0.2, 0.3"
InferenceObjectsNetCDF = "0.1, 0.2, 0.3"
InferenceObjects = "0.3.10"
JSON3 = "1"
NCDatasets = "0.12"
OrderedCollections = "1"
StructTypes = "1"
julia = "1.6"
Expand Down
3 changes: 2 additions & 1 deletion src/ArviZExampleData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ module ArviZExampleData

using Artifacts: @artifact_str
using DataDeps: DataDeps
using InferenceObjectsNetCDF: InferenceObjectsNetCDF
using InferenceObjects: InferenceObjects
using JSON3: JSON3
using NCDatasets: NCDatasets # load extension
using OrderedCollections: OrderedDict
using StructTypes: StructTypes

Expand Down
2 changes: 1 addition & 1 deletion src/load.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ function load_example_data(name::AbstractString; kwargs...)
),
)
end
return InferenceObjectsNetCDF.from_netcdf(path; kwargs...)
return InferenceObjects.from_netcdf(path; kwargs...)
end
load_example_data() = merge(LOCAL_EXAMPLE_DATA, REMOTE_EXAMPLE_DATA)

2 comments on commit 78e8abf

@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/88165

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.5 -m "<description of version>" 78e8abf632417131a73353f40b77d479fcb0d9f3
git push origin v0.1.5

Please sign in to comment.