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

Confusing error if querying a cgpm_metamodel without initialized models #574

Open
fsaad opened this issue Jul 26, 2017 · 0 comments
Open

Comments

@fsaad
Copy link
Collaborator

fsaad commented Jul 26, 2017

Sometimes the error check from this code is ignored, and a JSON error "expected string or buffer" is returned, rather than an error about no initialized models.

https://github.com/probcomp/bayeslite/blob/master/src/metamodels/cgpm_metamodel.py#L1050-L1065

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

No branches or pull requests

1 participant