Skip to content

Instantly share code, notes, and snippets.

@rwblair
Created March 15, 2016 17:50
Show Gist options
  • Save rwblair/6a3e9133b054142e9a00 to your computer and use it in GitHub Desktop.
Save rwblair/6a3e9133b054142e9a00 to your computer and use it in GitHub Desktop.
~/projects/bids-validator $ bin/bids-validator ~/Downloads/7t_trt
1: Not all sessions contain the same corresponding files. Each session should contain the same number of files with the same naming scheme. (code: 38)
/sub-19/ses-1/func/sub-19_ses-1_task-rest_acq-prefrontal_physio.tsv.gz
Evidence: Subject: sub-13; Missing file: /ses-1/fmap/sub-13_ses-1_run-1_magnitude2.nii.gz
/sub-19/ses-1/func/sub-19_ses-1_task-rest_acq-prefrontal_physio.tsv.gz
Evidence: Subject: sub-19; Missing file: /ses-1/func/sub-19_ses-1_task-rest_acq-fullbrain_run-2_physio.tsv.gz
/sub-19/ses-1/func/sub-19_ses-1_task-rest_acq-prefrontal_physio.tsv.gz
Evidence: Subject: sub-19; Missing file: /ses-1/func/sub-19_ses-1_task-rest_acq-prefrontal_physio.tsv.gz
2: Some nifti files have non-normative header field values. (code: 39)
/sub-11/ses-1/func/sub-11_ses-1_task-rest_acq-fullbrain_run-1_bold.nii.gz
Evidence: For the field dim The most common values is: 128,128,70,300 This file has the value: 64,64,35,300
/sub-11/ses-1/func/sub-11_ses-1_task-rest_acq-fullbrain_run-2_bold.nii.gz
Evidence: For the field dim The most common values is: 128,128,70,300 This file has the value: 64,64,35,300
/sub-11/ses-2/func/sub-11_ses-2_task-rest_acq-fullbrain_run-2_bold.nii.gz
Evidence: For the field dim The most common values is: 128,128,70,300 This file has the value: 64,64,35,300
/sub-11/ses-2/func/sub-11_ses-2_task-rest_acq-fullbrain_run-1_bold.nii.gz
Evidence: For the field dim The most common values is: 128,128,70,300 This file has the value: 64,64,35,300
/sub-19/ses-1/func/sub-19_ses-1_task-rest_acq-fullbrain_run-1_bold.nii.gz
Evidence: For the field pixdim The most common values is: -1,1.5,1.5,1.5 This file has the value: -1,3,3,3.000000476837158
/sub-19/ses-1/func/sub-19_ses-1_task-rest_acq-fullbrain_run-2_bold.nii.gz
Evidence: For the field pixdim The most common values is: -1,1.5,1.5,1.5 This file has the value: -1,3,3,3.000000476837158
/sub-21/ses-2/func/sub-21_ses-2_task-rest_acq-fullbrain_run-2_bold.nii.gz
Evidence: For the field pixdim The most common values is: -1,1.5,1.5,1.5000007152557373 This file has the value: -1,3,3,2.9999990463256836
/sub-21/ses-2/func/sub-21_ses-2_task-rest_acq-fullbrain_run-1_bold.nii.gz
Evidence: For the field pixdim The most common values is: -1,1.5,1.5,1.5 This file has the value: -1,3,3,3.0000014305114746
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment