Oscar
Running the BIDS validator in Oscar
0. Summary of commands
If you are not already inside an interactive session please start one. Here we start an interactive job of one hour. If you are using VNC, then you are already inside an interactive session and you just need to open the terminal
1. Log into oscar and start an interactive section by typing
2. Define variables
Specify the version of validator to
Set up paths
Indicate the bids directory. This is where dataset_description.json
file lives
Path to Singularity Image for the bids-validator (maintained by bnc)
3. Run the main executable via singularity
The following command runs the bids-validator
executable (via singularity) to test if a directory is BIDS compliant. The command tells singularity to launch the validator-${version}.sif
image and execute the bids-validator
command. The bids validator expects a directory as an input, which in this case corresponds to ${bids_directory}
. The --bind ${bids_directory}:${bids_directory}:ro
makes the ${HOME}/xnat-exports/bnc/study-demodat/bids
available read-only inside the container at the same path.
Last updated