Skip to content

Conversation

sethaxen
Copy link
Member

@sethaxen sethaxen commented Aug 8, 2022

This PR adds 2 new API functions:

  • check_follows_schema
  • follows_schema

These are used to check whether an InferenceData object correctly follows the InferenceData schema. We may want to include this in the InferenceData constructor with the option to disable the check, but at least having these utility functions as part of the API is useful for anyone who wants to write their own converter so they can check that the output is valid.

@sethaxen
Copy link
Member Author

sethaxen commented Aug 8, 2022

This PR should probably wait on arviz-devs/arviz#2086 to be finalized first.

@sethaxen
Copy link
Member Author

This work should be moved to https://github.com/arviz-devs/InferenceObjects.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant