Running validator using Docker:
docker run -ti --rm -v /mystudy/rawdata:/data:ro bids/validator --verbose /data > /myoutput/mystudy_bidsvalidator.txt
Output includes:
2: [WARN] The recommended file /README is missing. See Section 03 (Modality agnostic files) of the BIDS specification. (code: 101 - README_FILE_MISSING)
Please visit https://neurostars.org/search?q=README_FILE_MISSING for existing conversations about this issue.
The README file is present in the rawdata directory with permissions 775.
I am also getting the “Maximum call stack size exceeded” error, so perhaps the validator is stopping before it reaches the README file:
c1: [ERR] Internal error. SOME VALIDATION STEPS MAY NOT HAVE OCCURRED (code: 0 - INTERNAL ERROR)
.undefined
Maximum call stack size exceeded; please help the BIDS team and community by opening an issue at (https://github.com/bids-standard/bids-validator/issues) with the evidence here.
Evidence: RangeError: Maximum call stack size exceeded
at missingSessionFiles (/src/validators/session.js:17:10)
at /src/validators/bids/fullTest.js:199:42
at processTicksAndRejections (internal/process/task_queues.js:94:5)
Please visit https://neurostars.org/search?q=INTERNAL ERROR for existing conversations about this issue.`