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

Implement validation for BIDS HED schema version specifications #138

Closed
happy5214 opened this issue Feb 24, 2024 · 2 comments · Fixed by #142
Closed

Implement validation for BIDS HED schema version specifications #138

happy5214 opened this issue Feb 24, 2024 · 2 comments · Fixed by #142
Labels
bids BIDS integration question Further information is requested

Comments

@happy5214
Copy link
Member

Currently, there is a stub named validateSchemaSpec that was intended to validate schema specifications (i.e. nickname/library/version specs), probably in the already parsed form of SchemaSpec objects, but nothing calls it and it currently only does an object type check. What would need to be done to implement this?

@happy5214 happy5214 added question Further information is requested bids BIDS integration labels Feb 24, 2024
@VisLab
Copy link
Member

VisLab commented Feb 26, 2024

I think this might be meant for the implementation of lazy schema loading --- where users can specify an arbitrary number of partnered schemas without prefixes and they are loaded one at a time if no conflicts. The loader must raise an exception if a conflict occurs and the validation should not proceed.

@happy5214
Copy link
Member Author

This stub pre-dates partnered schemas by several months, but it could be repurposed for that. We'll discuss in our meeting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bids BIDS integration question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants