Skip to content

Commit

Permalink
02-common-principles.md: Formatting fixes for bids-standard#946
Browse files Browse the repository at this point in the history
  • Loading branch information
Lestropie committed Dec 19, 2021
1 parent 1839b58 commit 8549e00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/02-common-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,16 +559,18 @@ for more information.
1. If multiple metadata files are applicable to a given data file:

1. For [tabular files](#tabular-files) and other simple metadata files
(e.g. [`bvec` / `bval` files for diffusion MRI](#04-modality-specific-files/01-magnetic-resonance-imaging#required-gradient-orientation-information),
(for instance, [`bvec` / `bval` files for diffusion MRI](#04-modality-specific-files/01-magnetic-resonance-imaging#required-gradient-orientation-information),
only the file lowest in the filesystem hierarchy SHALL be treated as being
associated with that data file.

1. For [JSON files](#key-value-files-dictionaries):

1. Files are loaded from the top of the directory hierarchy downwards,
such that values from the top level are inherited by all data files
at lower levels to which it is applicable unless overridden
by a value for the same key present in another metadata file at a lower level
(though it is RECOMMENDED to minimise the extent of such overrides).

1. There is no notion of "unsetting" a key/value pair.

Corollaries:
Expand All @@ -593,7 +595,7 @@ Example 1: Demonstration of inheritance principle
"sub-01_task-rest_acq-longtr_bold.json": "",
}
}
}
},
"task-rest_bold.json": "",
) }}

Expand Down

0 comments on commit 8549e00

Please sign in to comment.