I have a project organized in the following way.
I would have liked to upload it to openneuro.org, but it fails the bids validation.
Note that the rawdata folder by itself passes the bids validation (online bids validator 1.3.12).
I would have expected the entire project to pass the validation given the following excerpt from the bids reference:
Hi @chrplr, if you want to upload
rawdata/ to OpenNeuro, it will accept it, because that’s a BIDS dataset. The directory containing these four directories is not. However,
sourcedata/ are all valid subdirectories in a BIDS dataset that do not get validated.
If your goal is to archive all of this, and not just
rawdata/, you can reorganize as follows:
If this passes the validator, it can be uploaded to OpenNeuro.
Is there a documented reason why the following structure,
is the preferred way to store all folders in a single BIDS folder rather than having
derivatives, etc all at the same folder level? It hasn’t yet made sense to me why, e.g., why I would go looking for
code in the
It’s not really preferred, but BIDS is the rawdata folder. The other directories are reserved names in case you want to distribute additional data with your BIDS dataset.
In my actual practice, I keep: