-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Entity requirements for MPM suffix do not appear correct #1683
Comments
issue one can be fix right now, then we can disccuss issue 2 how to solve it |
Relevant schema section: bids-specification/src/schema/rules/files/raw/anat.yaml Lines 176 to 198 in 3bf993b
|
@lbanellis the entity table explains required entities. As well as the suffix:
It makes sense in the context of an |
@agahkarakuzu what we meant is it makes no sense the echo is not mandatory and flip is, given that here the parameters that matters is echo time, ie what is mandatory or optional is weird (fixed echo = don't mention it but of course you have multiple flips, conversely fix flip = required to write flip-1 for the different echos) |
we have to do
while
is fine |
issue one is to have the info in the table |
Also, noticed the BIDS validator is very sensitive to the order of the entities (is only happy when echo and run is after acq) |
That's expected: entities can only appear in a specific order. The order when taking ALL entities into account is the one you can see in this document: More succintly put in the schema: |
Thank you for your replies, this issue was written with the organisers of the BIDS BrainHack event as it took us some time to convert the MPMs to validated BIDS with the organisers help. |
Was pointed out to me that sending links to yml files is not the most user friendly. Sorry about that. The way you usually know how to name files is to check the filename templates that are generated for each datatype. The one with MPM should be right there: This will tell you for a given suffix what are the entities you can use, which ones are required (see the legend dropdown below the templates for more info on that) and in which order they should appear. All filenames templates of all datatypes are also listed in a single page on the bids starter kit https://bids-standard.github.io/bids-starter-kit/folders_and_files/files.html#anat-anatomical-mri |
done a PR just to move info in the main spec -- but I still think it makes no sense for MPM which entities are mandatory vs optional
|
@CPernet the definition for "MPM" that we have in the specification is consistent with the entity requirements in the schema. If there is a canonical definition for the MPM protocol that differs from how we define it, and makes it clear what the requirements are, then can you link to that and we can update the definition? |
the entity requirement are 'correct' code wise, I am arguing here for reference that scientifically speaking this makes little sense to stores the various flips (mandatory) while the inversion time (optional) if using multiple flip angles data acquisition scheme (which is fine) but have to use the optional inversion time and store the same flip value many times when using a multiple inversion data acquisition scheme (ie either both mandatory or have some conditional if multiple flip, inversion is optional because always the same, if multiple inversion, flip is optional because always the same) |
Describe your problem in detail.
page in the spec https://bids-specification.readthedocs.io/en/stable/appendices/file-collections.html
we tested with @melanieganz @CPernet @Remi-Gau MPM it is valid only if entities flip and mt are present
Describe what you expected.
No response
BIDS specification section
https://bids-specification.readthedocs.io/en/latest/...
The text was updated successfully, but these errors were encountered: