Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove parsing of Stan-style indices in MCMCChains #347

Merged
merged 10 commits into from
Jun 28, 2024
Merged

Conversation

sethaxen
Copy link
Member

This PR removes support for parsing variable names like a.1.1 as an indexing statement a[1,1] when converting MCMCChains.Chains to InferenceData. This was previously only used by StanSample.jl, which supports many other output types including InferenceData. This allows statements like a.b ~ Normal() in Turing models to be parsed into variable names like a.b.

Relates #211

ext/ArviZMCMCChainsExt.jl Outdated Show resolved Hide resolved
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@sethaxen sethaxen merged commit d85d0d8 into main Jun 28, 2024
13 checks passed
@sethaxen sethaxen deleted the rmchainsdotsupport branch June 28, 2024 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant