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

fix(json): Validate all JSON fields #10

Closed

Conversation

effigies
Copy link

The JSON validation code strongly assumed it was validating sidecars, not JSON files. These changes streamline the logic a bit to ensure that sidecars and JSON files are treated the same, but the sidecar "origin" code is skipped for JSON files.

If merged, then https://github.com/bids-standard/bids-validator/issues/2007 will be addressed by https://github.com/bids-standard/bids-validator/pull/2067.

@effigies effigies force-pushed the fix/json-validation-logic branch from b6c175a to 5a6bf6b Compare August 12, 2024 18:24
The JSON validation code strongly assumed it was validating sidecars,
not JSON files. These changes streamline the logic a bit to ensure that
sidecars and JSON files are treated the same, but the sidecar "origin"
code is skipped for JSON files.
@effigies effigies force-pushed the fix/json-validation-logic branch from 5a6bf6b to 5c82715 Compare August 12, 2024 19:04
@effigies effigies closed this Aug 12, 2024
@effigies effigies deleted the fix/json-validation-logic branch August 13, 2024 18:59
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