Forgive me if I’m missing something obvious, but I tried validating a BIDS dataset and I’m getting a failure error about a lot of the files and do not understand the problem as it seems to me the naming convention and hierarchy matches the specifications. If someone could point me in the right direction, I would appreciate it! I’m attaching a screenshot of the error.
I apologize,that was a bad example because that was a file that I created for fsl and needed a different naming structure. I’m attaching other examples of rejected filenames and I’m still confused why they are rejected given that they seem to adhere to the BIDS specification as far as I can tell.
Thanks so much!!
Just a heads up that the BIDS validator seems to be very OS/browser specific. There were no invalid characters in my file names–I tested with your find/grep suggestion and other suggestions out there, and got no indications there were invalid characters in my filename.
I had initially tested the BIDS validator on a Windows PC with Chrome; then I tested on a linux server with firefox. This produced the same errors I reported above. But then I downloaded the same files to a Mac and tested with Chrome and had no problems with the validator–everything was kosher, just like the person in the thread who said they tested on a dummy set with the same filenames. So there were no invalid characters, but something about the combination of OS and browser I would say? I thought you guys should know, and any other people running into fallacious errors on the BIDS validator out there.
We recently updated the web validator, which we discovered had not been updating for ~5 months. Is there any chance that this failed on the old version and succeeded on the new, and this merely coincided with trying different OS/Browser combinations?
Assuming that it does still fail with the most recent version, could you test in Chrome and Firefox on all three systems? And, ideally, if you could install bids-validator locally with npm, that would be a good additional data point. If there is a system where we can reliably reproduce this, it will make it easier to debug.
Some rambling: I find it strange that it would fail on Windows and Linux but not OSX. I would have thought OSX and Linux would be most similar, as they’re both Unix systems. OSX file systems are case-insensitive, while Windows and Linux are case-sensitive, so there might be something there, though I can’t immediately think of what.