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

Replace legacy validator with schema validator #337

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tientong98
Copy link
Contributor

Closes #336.

Changes proposed in this pull request

  • replace legacy with schema validator
  • also change cubids print-metadata-fields to account for json file errors due to not been validated yet
  • add deno installation to to circleci

Documentation that should be reviewed

  • Installation page, replace old bids installation instruction with new ones (deno)

also change cubids print-metadata-fields to account for json file errors due to not been validated yet
command = ["bids-validator", path, "--verbose", "--json", "--ignoreSubjectConsistency"]
# New schema BIDS validator doesn't have option to ignore subject consistency.
# Build the deno command to run the BIDS validator.
command = ["deno", "run", "-A", "jsr:@bids/validator", path, "--verbose", "--json"]
Copy link
Member

Choose a reason for hiding this comment

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

We might want some way to provide a given version of the validator or a version of the BIDS schema

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.

Replace legacy validator with schema bids in cubids validate
2 participants