Skip to content

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

Merged
VisLab merged 1 commit intohed-standard:masterfrom
yarikoptic:hed-validator
Oct 4, 2024
Merged

Add "hed-validator" to run validation on BIDS dataset#1025
VisLab merged 1 commit intohed-standard:masterfrom
yarikoptic:hed-validator

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
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