Skip to content

Commit 7a43e3c

Browse files
yarikopticeffigies
authored andcommitted
run codespell throughout fixing few left typos automagically
Those were detected with codespell 2.4.0 and indeed we had inconsistencies on GB vs US forms for "localization" so it is harmonized now.
1 parent 00e8115 commit 7a43e3c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/schema/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ arrays or objects:
439439
| `properties` | The object described has a given set of fields; the values of these fields may be constrained |
440440
| `additionalProperties` | The object described has constraints on its values, but not the names |
441441

442-
### On re-used objects with different definitions
442+
### On reused objects with different definitions
443443

444444
In a few cases, two objects with the same name appear multiple times in the specification.
445445
When this happens, it is preferred to find a common definition, and clarify it in the rules (see below).

src/schema/objects/metadata.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ ContinuousHeadLocalization:
523523
name: ContinuousHeadLocalization
524524
display_name: Continuous Head Localization
525525
description: |
526-
`true` or `false` value indicating whether continuous head localisation
526+
`true` or `false` value indicating whether continuous head localization
527527
was performed.
528528
type: boolean
529529
ContrastBolusIngredient:
@@ -1472,7 +1472,7 @@ HeadCoilFrequency:
14721472
name: HeadCoilFrequency
14731473
display_name: Head Coil Frequency
14741474
description: |
1475-
List of frequencies (in Hz) used by the head localisation coils
1475+
List of frequencies (in Hz) used by the head localization coils
14761476
('HLC' in CTF systems, 'HPI' in Neuromag/Elekta/MEGIN, 'COH' in BTi/4D)
14771477
that track the subject's head position in the MEG helmet
14781478
(for example, `[293, 307, 314, 321]`).
@@ -2133,7 +2133,7 @@ MaxMovement:
21332133
display_name: Max Movement
21342134
description: |
21352135
Maximum head movement (in mm) detected during the recording,
2136-
as measured by the head localisation coils (for example, `4.8`).
2136+
as measured by the head localization coils (for example, `4.8`).
21372137
type: number
21382138
unit: mm
21392139
MeasurementToolMetadata:

tools/schemacode/src/bidsschematools/validator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def select_schema_path(
334334
335335
Notes
336336
-----
337-
* This is a purely aspirational function, and is pre-empted by logic inside
337+
* This is a purely aspirational function, and is preempted by logic inside
338338
`bst.validator.validate_bids()`, and further contingent on better schema stability and
339339
ongoing work in: https://github.com/bids-standard/bids-schema
340340
* The default `bids_reference_root` value is based on the FHS and ideally should be enforced.

0 commit comments

Comments
 (0)