From bdd3c962118a016a646cef6c447696f594e7987a Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Mon, 6 Dec 2021 10:58:25 +1100 Subject: [PATCH 1/6] [FIX] Common principles: Add "entity" to list of definitions --- src/02-common-principles.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/02-common-principles.md b/src/02-common-principles.md index e29d0b96ed..b2270b28fc 100644 --- a/src/02-common-principles.md +++ b/src/02-common-principles.md @@ -105,6 +105,9 @@ misunderstanding we clarify them here. The modality may overlap with, but should not be confused with the **data type**. +1. **Entity** - a portion of a file name, consisting of a **key** and corresponding + **value** separated by a hyphen. + 1. **``** - a nonnegative integer, possibly prefixed with arbitrary number of 0s for consistent indentation, for example, it is `01` in `run-01` following `run-` specification. From 00f9cea8e4cebe2f58c7f8e42058d2904d70b1f6 Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Wed, 8 Dec 2021 12:41:00 +1100 Subject: [PATCH 2/6] Common principles: Link "entity" definition to appendices --- src/02-common-principles.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/02-common-principles.md b/src/02-common-principles.md index b2270b28fc..cec4504aaa 100644 --- a/src/02-common-principles.md +++ b/src/02-common-principles.md @@ -106,7 +106,10 @@ misunderstanding we clarify them here. the **data type**. 1. **Entity** - a portion of a file name, consisting of a **key** and corresponding - **value** separated by a hyphen. + **value** separated by a hyphen. Supported entities are defined in + [Appendix IX](99-appendices/09-entities.md); further, whether they are allowed, + OPTIONAL or REQUIRED for various data files, as well as their relative ordering, + are defined in the Entity Table in [Appendix IV](99-appendices/04-entity-table.md). 1. **``** - a nonnegative integer, possibly prefixed with arbitrary number of 0s for consistent indentation, for example, it is `01` in `run-01` following From 34c85b64efc5d2da3b01a9a192e87bcd806f6a0a Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Wed, 8 Dec 2021 16:15:19 +1100 Subject: [PATCH 3/6] Standardise use of "entity" definition across specification --- src/02-common-principles.md | 29 +++++------ .../01-magnetic-resonance-imaging-data.md | 52 +++++++++---------- .../03-electroencephalography.md | 6 ++- .../07-behavioral-experiments.md | 4 +- src/05-derivatives/01-introduction.md | 2 +- src/05-derivatives/03-imaging.md | 2 +- src/99-appendices/04-entity-table.md | 2 +- src/99-appendices/06-meg-file-formats.md | 4 +- src/99-appendices/09-entities.md | 2 +- src/schema/README.md | 10 ++-- src/schema/objects/columns.yaml | 2 +- src/schema/objects/entities.yaml | 28 +++++----- src/schema/objects/metadata.yaml | 30 +++++------ 13 files changed, 87 insertions(+), 86 deletions(-) diff --git a/src/02-common-principles.md b/src/02-common-principles.md index cec4504aaa..f829f0a0fa 100644 --- a/src/02-common-principles.md +++ b/src/02-common-principles.md @@ -13,7 +13,7 @@ misunderstanding we clarify them here. purpose of a particular study. A dataset consists of data acquired from one or more subjects, possibly from multiple sessions. -1. **Subject** - a person or animal participating in the study. Used +1. **Subject** - a person or animal participating in the study. Used interchangeably with term **Participant**. 1. **Session** - a logical grouping of neuroimaging and behavioral data @@ -34,7 +34,7 @@ misunderstanding we clarify them here. 1. **Sample** - a sample pertaining to a subject such as tissue, primary cell or cell-free sample. - The `sample-