Skip to content

Commit

Permalink
tmp: Use schema merging bids-standard/bids-specification#1672
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed May 2, 2024
1 parent e7a531b commit d65bdba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bids-validator/src/setup/loadSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export async function loadSchema(version = 'latest'): Promise<Schema> {
if (bidsSchema !== undefined) {
schemaUrl = bidsSchema
} else if (version === 'latest' || versionRegex.test(version)) {
schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json`
schemaUrl = `https://bids-specification.readthedocs.io/en/schema-provisional/schema.json`
// schemaUrl = `https://bids-specification.readthedocs.io/en/${version}/schema.json`
}
try {
const schemaModule = await import(/* @vite-ignore */ schemaUrl, {
Expand Down

0 comments on commit d65bdba

Please sign in to comment.