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: Prevent AJV logs from contaminating output #166

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

nellh
Copy link
Member

@nellh nellh commented Feb 20, 2025

Some datasets on OpenNeuro are having JSON output contaminated by this output from AJV's internal logging:

strict mode: missing type "array" for keyword "maxItems" at "#/properties/ScreenResolution/anyOf/0/items" (strictTypes)
strict mode: missing type "array" for keyword "minItems" at "#/properties/ScreenResolution/anyOf/0/items" (strictTypes)
strict mode: missing type "array" for keyword "maxItems" at "#/properties/ScreenSize/anyOf/0/items" (strictTypes)
strict mode: missing type "array" for keyword "minItems" at "#/properties/ScreenSize/anyOf/0/items" (strictTypes)

Examples include ds005810 and ds005811.

@effigies
Copy link
Contributor

Looks like we need a schema fix as well?

@nellh nellh merged commit 64887f8 into bids-standard:main Feb 21, 2025
17 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