Skip to content

Commit

Permalink
Inheritance principle: Reformats for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lestropie committed Feb 14, 2022
1 parent 8c07d92 commit d5782c6
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions src/02-common-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ Corollaries:

1. Where the same key is present in multiple applicable metadata files, the final
value associated with that key will be that of the file latest in the order in
which that key is defined; i.e. values associated with that key earlier in the
which that key is defined; any values associated with that key earlier in the

This comment has been minimized.

Copy link
@francopestilli

francopestilli Feb 14, 2022

Collaborator

@Lestropie just to confirm. The only change is this one. The additional changes below are formatting, am I correct?

This comment has been minimized.

Copy link
@Lestropie

Lestropie Feb 14, 2022

Author Collaborator

This line is to resolve the "no-bad-latin" check.

The changes below are due to the original formatting being detected as multi-line links. Though I am slightly concerned that presenting those data as bullet-points does not adequately convey their ordered nature, and that enumerations would be better.

ordering are overridden
(though it is RECOMMENDED to minimize the extent of such overrides).

Expand Down Expand Up @@ -681,37 +681,37 @@ Example 2: Complex inheritance scenario
The applicability and order in which each JSON file would be loaded for each data
file is as follows:

- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_run-1_bold.nii.gz`: [
`bold.json`,
`task-ovg_bold.json`,
`sub-01/sub-01_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_task-ovg_bold.json` ]

- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_run-2_bold.nii.gz`: [
`bold.json`,
`task-ovg_bold.json`,
`sub-01/sub-01_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_task-ovg_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_task-ovg_run-2_bold.json` ]

- `sub-01/ses-01/func/sub-01_ses-01_task-rest_bold.nii.gz`: [
`bold.json`,
`task-rest_bold.json`,
`sub-01/sub-01_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_bold.json`,
`sub-01/ses-01/func/sub-01_ses-01_task-rest_bold.json` ]

- `sub-01/ses-02/func/sub-01_ses-02_task-ovg_bold.nii.gz`: [
`bold.json`,
`task-ovg_bold.json`,
`sub-01/sub-01_bold.json` ]

- `sub-01/ses-02/func/sub-01_ses-02_task-rest_bold.nii.gz`: [
`bold.json`,
`task-rest_bold.json`,
`sub-01/sub-01_bold.json` ]
- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_run-1_bold.nii.gz`:
- `bold.json`
- `task-ovg_bold.json`
- `sub-01/sub-01_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_bold.json`

- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_run-2_bold.nii.gz`:
- `bold.json`
- `task-ovg_bold.json`
- `sub-01/sub-01_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_task-ovg_run-2_bold.json`

- `sub-01/ses-01/func/sub-01_ses-01_task-rest_bold.nii.gz`:
- `bold.json`
- `task-rest_bold.json`
- `sub-01/sub-01_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_bold.json`
- `sub-01/ses-01/func/sub-01_ses-01_task-rest_bold.json`

- `sub-01/ses-02/func/sub-01_ses-02_task-ovg_bold.nii.gz`:
- `bold.json`
- `task-ovg_bold.json`
- `sub-01/sub-01_bold.json`

- `sub-01/ses-02/func/sub-01_ses-02_task-rest_bold.nii.gz`:
- `bold.json`
- `task-rest_bold.json`
- `sub-01/sub-01_bold.json`

Example 3: Violation of inheritance principle

Expand Down

1 comment on commit d5782c6

@francopestilli
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Please sign in to comment.