Hi, when I use bids-validator command line tool, I got error code 61. But when I use the website demo with the same bids folder, I got error code 55 and 44.
cmd: bids-validator ds000114 --json
cmd result: {"issues":{"errors":[{"key":"QUICK_VALIDATION_FAILED","severity":"error","reason":"Quick validation failed - the general folder structure does not resemble a BIDS dataset. Have you chosen the right folder (with \"sub-*/\" subfolders)? Check for structural/naming issues and presence of at least one subject.","files":[{"key":"QUICK_VALIDATION_FAILED","code":61,"file":{"name":".","path":".","relativePath":"."},"evidence":null,"line":null,"character":null,"severity":"error","reason":"Quick validation failed - the general folder structure does not resemble a BIDS dataset. Have you chosen the right folder (with \"sub-*/\" subfolders)? Check for structural/naming issues and presence of at least one subject.","helpUrl":"https://neurostars.org/search?q=QUICK_VALIDATION_FAILED"}],"additionalFileCount":0,"helpUrl":"https://neurostars.org/search?q=QUICK_VALIDATION_FAILED","code":61}],"warnings":[],"ignored":[]}}%
Got it, thanks. The two dwi files do not belong there, but it looks fine besides that. Now how about the tree structure of a single subject (cd ds000114; tree sub-01)?
DWI bvals and bvecs should be copied to the subject folders with BIDS naming conventions.
There do not seem to be any JSON filess
Also, does the tree indicate that your niftis are on a git repo and not stored locally (sorry I am not familiar with that output structure)? That may confuse the bids validator. Does that make sense?
Thanks Steven, it makes sense to me. But I am still confuse that the result of using command line to validate folder ds000114 is different with the result of validating ds000114 through the browser(https://bids-standard.github.io/bids-validator/)
the output only shows Quick validation failed while the output of browser shows Error 1: [Code 55] JSON_SCHEMA_VALIDATION_ERROR and Error 2: [Code 44] FILE_READ
Sorry about this difference, it looks like the latest version of the validator isnβt being used on the website. Iβll see about getting this fixed. Iβm downloading ds000114 to test against as well.