Open tsalo opened 4 years ago
@CPernet suggested:
That we do not add any new key value pairs to the filename other than the ones in the current standard.
That we do not add any new [mandatory?] key value pairs to the filename other than the ones in the current standard.
relates to a case where we want to add info about contrast agent so we have a new optional key called ce (contrast enhancement) and the value is the product used (+a description in the json file) -- see email thread with Pauline Roca
@TheChymera wrote:
- That we do not add any new [mandatory?] key value pairs to the filename other than the ones in the current standard.
I agree with this suggestion. We need to allow people to add fields. A missing field and a strict requirement thereof could be a major reason for not using the standard.
Robert Welsh wrote:
I realize is comment could be here as well:
Since there are tag/value pairs actually as part of the file names, should the order even matter? that is, scripts should scan for "sub" or "task" in the name and then grab the value. That would allow for much needed flexibility in the naming. Thus, a name such as
would all be BIDS compliant. I would push for this type of flexibility.
Tagging @afni-rickr and @leej3 : is this filename max length of 256 accurate? If so, could it be amended easily and does it include the full path, or is that a separate max length requirement?
I'm not thrilled about allowing dashes inside the labels, as I discuss in #17. However, I will say that inhumanly readable filenames can also be quite challenging and this is therefore a balancing act.
Hi @jbteves , I think the 256 limit comes from the file system, rather than from AFNI. I cannot even "touch" a file of over that length (either on my ext4 file system, or on the gpfs file system used for the HPC cluster). AFNI has a limit of 999 for a dataset prefix (which then might be moot), and a separate limit of over 4000 for the path to it.
I see, thanks for clarification! I'd forgotten about that being a filesystem limitation.
https://groups.google.com/forum/#!topic/bids-discussion/IdWe0R8OFyw
Original authors: @ccraddock