Skip to content

Commit

Permalink
Entity and entity tables
Browse files Browse the repository at this point in the history
- Avoid conflict with bids-standard#692 
- Add applicable TB1map file collections
  • Loading branch information
agahkarakuzu authored and sappelhoff committed Dec 21, 2020
1 parent 81c2146 commit 1d8db2b
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/99-appendices/09-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
This file is autogenerated based on the src/schema. DO NOT EDIT DIRECTLY.
Follow https://github.com/bids-standard/bids-specification/blob/master/CONTRIBUTING.md#updating-the-schema
-->
# Appendix IX: Entities
# Appendix IV: Entity table

This section compiles the entities (key-value pairs) described throughout this
specification, and describes each.
specification, and establishes a common order within a filename. 
For example, if a file has an acquisition and reconstruction label, the
acquisition entity must precede the reconstruction entity.
REQUIRED and OPTIONAL entities for a given file type are denoted.
Entity formats indicate whether the value is alphanumeric
(`<label>`) or numeric (`<index>`).

A general introduction to entities is given in the section on
[file name structure](../02-common-principles.md#file-name-structure).
Expand Down
33 changes: 33 additions & 0 deletions src/schema/datatypes/fmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,36 @@
ce: optional
dir: required
run: optional
# Third group
- suffixes:
- TB1DAM
extensions:
- .nii.gz
- .nii
- .json
entities:
sub: required
ses: optional
run: optional
acq: optional
ce: optional
rec: optional
flip: required
part: optional
# Fourth group
- suffixes:
- TB1EPI
extensions:
- .nii.gz
- .nii
- .json
entities:
sub: required
ses: optional
run: optional
acq: optional
ce: optional
rec: optional
echo: required
flip: required
part: optional

0 comments on commit 1d8db2b

Please sign in to comment.