Skip to content

Commit

Permalink
Merge pull request #578 from tsalo/fix/propagate-535
Browse files Browse the repository at this point in the history
[ENH] Specify echo and run indices are nonnegative integers in schema
  • Loading branch information
tsalo authored Aug 24, 2020
2 parents 49543a4 + 5dae563 commit 4bceb18
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/schema/entities.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ run:
name: Run
description: |
If several scans of the same modality are acquired they MUST be indexed
with a key-value pair: `_run-1`, `_run-2`, `_run-3` etc. (only integers
are allowed as run labels).
with a key-value pair: `_run-1`, `_run-2`, ..., `_run-<index>`
(only nonnegative integers are allowed for the `<index>`).
When there is only one scan of a given type the run key MAY be omitted.
Please note that diffusion imaging data is stored elsewhere (see below).
format: index
mod:
name: Corresponding Modality
Expand All @@ -93,6 +92,9 @@ echo:
Multi-echo data MUST be split into one file per echo.
Each file shares the same name with the exception of the `_echo-<index>`
key/value.
Please note that the `<index>` denotes the number/index (in the form of a
nonnegative integer) of the echo not the echo time value which needs to be
stored in the field `EchoTime` of the separate JSON file.
format: index
recording:
name: Recording
Expand Down

0 comments on commit 4bceb18

Please sign in to comment.