Skip to content

Commit

Permalink
Merge pull request #119 from tstoeter/patch-1
Browse files Browse the repository at this point in the history
Fix bst call for compiling schema
  • Loading branch information
effigies authored Dec 9, 2024
2 parents a411f4c + 9b19803 commit d6fae6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ To modify the schema a clone of bids-standard/bids-specification will need to be

After changes to the schema have been made to a local copy the dereferenced single json file used by the validator will need to be built. The `bidsschematools` python package does this. It can be installed from pypi via pip or a local installation can be made. It lives in the specification repository here https://github.com/bids-standard/bids-specification/tree/master/tools/schemacode

The command to compile a dereferenced schema is `bst -v export --output src/schema.json` (this assumes you are in the root of the bids-specification repo). Once compiled it can be passed to the validator via the `-s` flag, `./bids-validator-deno -s <path to schema> <path to dataset>`
The command to compile a dereferenced schema is `bst -v export --schema src/schema --output src/schema.json` (this assumes you are in the root of the bids-specification repo). Once compiled it can be passed to the validator via the `-s` flag, `./bids-validator-deno -s <path to schema> <path to dataset>`


## Documentation

The BIDS validator documentation is available on [Read the Docs](https://bids-validator.readthedocs.io/en/latest/).
The BIDS validator documentation is available on [Read the Docs](https://bids-validator.readthedocs.io/en/latest/).

0 comments on commit d6fae6a

Please sign in to comment.