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

Add "hed-validator" to run validation on BIDS dataset #1025

Merged
merged 1 commit into from
Oct 4, 2024

Conversation

yarikoptic
Copy link
Contributor

@yarikoptic yarikoptic commented Oct 3, 2024

Unlike other hed_ scripts I prefixed this as hed- to be more consistent with conventions like git-COMMAND, bids-validator, etc.

I have not yet had luck to get errors to see how those would look and if would work to serialize into json. hed-examples are all clean. Sample dataset I had crashes validator (separate issue to follow).

edit: based on https://github.com/hed-standard/hed-examples/blob/main/src/jupyter_notebooks/bids/validate_bids_dataset.ipynb

ref: partially addresses hed-standard/hed-examples#405

Unlike other hed_ scripts I prefixed this as hed- to be more consistent
with conventions like git-COMMAND, bids-validator, etc.

I have not yet had luck to get errors to see how those would look and if would
work to serialize into json.  hed-examples are all clean. Sample dataset I had
crashes validator (separate issue to follow).
Copy link
Member

@VisLab VisLab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to go ahead and merge this. This does basic validation of events. CLI validation is also available through the remodeling interface, but we definitely need this standalone validation. Thx..... We'll update it to include a more comprehensive list of BidsDataset parameters and do some tests.

@VisLab VisLab merged commit db3f988 into hed-standard:master Oct 4, 2024
9 checks passed
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.

2 participants