Description
I feel it a bit confusing reading Source vs. raw vs. derived data section. Currently it provides an alternative way to organize BIDS data in this way.
└─ my_dataset-1/
├─ sourcedata
├─ ...
├─ rawdata/
│ ├─ dataset_description.json
│ ├─ participants.tsv
│ ├─ sub-01/
│ ├─ sub-02/
│ └─ ...
└─ derivatives/
├─ pipeline_1/
├─ pipeline_2/
└─ ...
My question is: what is the top-level BIDS directory in this case? Or how do I programmatically and reliably find the subject raw data in general?
Let's say
- I set
my_dataset-1
as my BIDS folder: it hasderivatives
, but I can't finddataset_description.json
. There is no direct subject data within. The other folders within are not BIDS compliant - If I set
my_dataset-1/rawdata
as my BIDS folder, then I can't findderivatives
as stated in BIDS specs (puttingderivatives
inrawdata
does not make sense at all).
Initially there was dataset_description.json
requirement under my_dataset-1
, but #1741 removes it.
I wonder if it's a good idea to at least put some file in to indicate that this is the root of BIDS directory. This file includes file descriptors to indicate which components in my folders are BIDS-compliant? For example, ask people to provide BIDSDatasetLinks
if the folder is structured in such way:
{
"BIDSDatasetLinks" : {
"rawdata" : "bids::rawdata", # default is current directory
"derivatives" : "bids::derivatives", # this is the default
},
}
To address #1741 (comment) , people should add .bidsignore
.