BIDS=/project/3011020.13/bids

$HOME/bids-tools/bin/create_sidecar_files  --description  $BIDS   # create the dataset_description.json file
$HOME/bids-tools/bin/create_sidecar_files  --participants $BIDS   # create the participants.tsv file
$HOME/bids-tools/bin/create_sidecar_files  --scans        $BIDS   # create the scans.tsv files (per subject and session)
