Skip to content

Commit

Permalink
run codespell throughout fixing few left typos automagically
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
yarikoptic authored and effigies committed Jan 21, 2025
1 parent 00e8115 commit 7a43e3c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/schema/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ arrays or objects:
| `properties` | The object described has a given set of fields; the values of these fields may be constrained |
| `additionalProperties` | The object described has constraints on its values, but not the names |

### On re-used objects with different definitions
### On reused objects with different definitions

In a few cases, two objects with the same name appear multiple times in the specification.
When this happens, it is preferred to find a common definition, and clarify it in the rules (see below).
Expand Down
6 changes: 3 additions & 3 deletions src/schema/objects/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ ContinuousHeadLocalization:
name: ContinuousHeadLocalization
display_name: Continuous Head Localization
description: |
`true` or `false` value indicating whether continuous head localisation
`true` or `false` value indicating whether continuous head localization
was performed.
type: boolean
ContrastBolusIngredient:
Expand Down Expand Up @@ -1472,7 +1472,7 @@ HeadCoilFrequency:
name: HeadCoilFrequency
display_name: Head Coil Frequency
description: |
List of frequencies (in Hz) used by the head localisation coils
List of frequencies (in Hz) used by the head localization coils
('HLC' in CTF systems, 'HPI' in Neuromag/Elekta/MEGIN, 'COH' in BTi/4D)
that track the subject's head position in the MEG helmet
(for example, `[293, 307, 314, 321]`).
Expand Down Expand Up @@ -2133,7 +2133,7 @@ MaxMovement:
display_name: Max Movement
description: |
Maximum head movement (in mm) detected during the recording,
as measured by the head localisation coils (for example, `4.8`).
as measured by the head localization coils (for example, `4.8`).
type: number
unit: mm
MeasurementToolMetadata:
Expand Down
2 changes: 1 addition & 1 deletion tools/schemacode/src/bidsschematools/validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def select_schema_path(
Notes
-----
* This is a purely aspirational function, and is pre-empted by logic inside
* This is a purely aspirational function, and is preempted by logic inside
`bst.validator.validate_bids()`, and further contingent on better schema stability and
ongoing work in: https://github.com/bids-standard/bids-schema
* The default `bids_reference_root` value is based on the FHS and ideally should be enforced.
Expand Down

0 comments on commit 7a43e3c

Please sign in to comment.