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

Provide support libraries for tools #1

Open
yarikoptic opened this issue May 17, 2020 · 3 comments
Open

Provide support libraries for tools #1

yarikoptic opened this issue May 17, 2020 · 3 comments

Comments

@yarikoptic
Copy link
Collaborator

Eg to fetch, update and cache on user system newer versions. That might help to avoid needing new software release to just support more recent bids schema version.

@yarikoptic
Copy link
Collaborator Author

yarikoptic commented May 17, 2020

Perspective API (in Python lingua)

  • get_versions(releases_only=True) - list of versions
  • get(version='latest') - load and return schema structure
  • update_cached(ttl=3600)

@tsalo
Copy link
Member

tsalo commented Mar 1, 2021

Given how much the structure of the schema will probably fluctuate and the difficulties in changing BIDS releases after the fact, I think we should start backing up the release-associated schemas in this repository and we should try to keep the different versions of the schema up-to-date w.r.t. whatever the current version is. Not in terms of content, but in terms of the structure at least.

If we go that way, get functions in the code here will be very straightforward, since the actual files being loaded will already be in the repository.

@yarikoptic
Copy link
Collaborator Author

I think I had more of an idea for support tools for the layout here, not necessarily support tools to read bids schema itself.

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

2 participants