Skip to content

Commit

Permalink
[DATALAD RUNCMD] run codespell throughout fixing typo automagically
Browse files Browse the repository at this point in the history
=== Do not change lines below ===
{
 "chain": [],
 "cmd": "codespell -w",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
  • Loading branch information
yarikoptic committed Sep 20, 2023
1 parent 322470e commit 8ac3ebb
Show file tree
Hide file tree
Showing 26 changed files with 143 additions and 143 deletions.
2 changes: 1 addition & 1 deletion hed/models/column_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def _set_sidecar(self, sidecar):
sidecar (Sidecar or None): the sidecar to use
:raises ValueError:
- A sidecar was prevoiusly set
- A sidecar was previously set
"""
if self._sidecar:
raise ValueError("Trying to set a second sidecar on a column mapper.")
Expand Down
2 changes: 1 addition & 1 deletion hed/models/expression_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def handle_expr(self, hed_group, exact=False):
class ExpressionOr(Expression):
def handle_expr(self, hed_group, exact=False):
groups1 = self.left.handle_expr(hed_group, exact=exact)
# Don't early out as we need to gather all groups incase tags appear more than once etc
# Don't early out as we need to gather all groups in case tags appear more than once etc
groups2 = self.right.handle_expr(hed_group, exact=exact)
# todo: optimize this eventually
# Filter out duplicates
Expand Down
14 changes: 7 additions & 7 deletions hed/schema/schema_data/HED8.0.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@
</node>
<node>
<name>Predict</name>
<description>Say or estimate that something will happen or will be a consequence of something without having exact informaton.</description>
<description>Say or estimate that something will happen or will be a consequence of something without having exact information.</description>
</node>
<node>
<name>Recognize</name>
Expand Down Expand Up @@ -1397,7 +1397,7 @@
</node>
<node>
<name>Tool</name>
<description>A component that is not part of a device but is designed to support its assemby or operation.</description>
<description>A component that is not part of a device but is designed to support its assembly or operation.</description>
</node>
</node>
<node>
Expand Down Expand Up @@ -1581,7 +1581,7 @@
</node>
<node>
<name>Truck</name>
<description>A motor vehicle which, as its primary funcion, transports cargo rather than human passangers.</description>
<description>A motor vehicle which, as its primary function, transports cargo rather than human passangers.</description>
</node>
</node>
</node>
Expand Down Expand Up @@ -1623,7 +1623,7 @@
<description>Mechanical vibrations transmitted by an elastic medium. Something that can be heard.</description>
<node>
<name>Environmental-sound</name>
<description>Sounds occuring in the environment. An accumulation of noise pollution that occurs outside. This noise can be caused by transport, industrial, and recreational activities.</description>
<description>Sounds occurring in the environment. An accumulation of noise pollution that occurs outside. This noise can be caused by transport, industrial, and recreational activities.</description>
<node>
<name>Crowd-sound</name>
<description>Noise produced by a mixture of sounds from a large group of people.</description>
Expand Down Expand Up @@ -2751,7 +2751,7 @@
<description>Something capable of being estimated or expressed with numeric values.</description>
<node>
<name>Fraction</name>
<description>A numerical value betwee 0 and 1.</description>
<description>A numerical value between 0 and 1.</description>
<node>
<name>#</name>
<attribute>
Expand Down Expand Up @@ -2940,7 +2940,7 @@
</node>
<node>
<name>Statistical-recall</name>
<description>Sensitivity is a measurement datum qualifying a binary classification test and is computed by substracting the false negative rate to the integral numeral 1.</description>
<description>Sensitivity is a measurement datum qualifying a binary classification test and is computed by subtracting the false negative rate to the integral numeral 1.</description>
<node>
<name>#</name>
<attribute>
Expand Down Expand Up @@ -3526,7 +3526,7 @@
<description>Characterization of the physical features of a tract of land.</description>
<node>
<name>Composite-terrain</name>
<description>Tracts of land characterized by a mixure of physical features.</description>
<description>Tracts of land characterized by a mixture of physical features.</description>
</node>
<node>
<name>Dirt-terrain</name>
Expand Down
12 changes: 6 additions & 6 deletions hed/schema/schema_data/HED8.1.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@
</node>
<node>
<name>Predict</name>
<description>Say or estimate that something will happen or will be a consequence of something without having exact informaton.</description>
<description>Say or estimate that something will happen or will be a consequence of something without having exact information.</description>
</node>
<node>
<name>Recognize</name>
Expand Down Expand Up @@ -1406,7 +1406,7 @@
</node>
<node>
<name>Tool</name>
<description>A component that is not part of a device but is designed to support its assemby or operation.</description>
<description>A component that is not part of a device but is designed to support its assembly or operation.</description>
</node>
</node>
<node>
Expand Down Expand Up @@ -1594,7 +1594,7 @@
</node>
<node>
<name>Truck</name>
<description>A motor vehicle which, as its primary funcion, transports cargo rather than human passangers.</description>
<description>A motor vehicle which, as its primary function, transports cargo rather than human passangers.</description>
</node>
</node>
</node>
Expand Down Expand Up @@ -1636,7 +1636,7 @@
<description>Mechanical vibrations transmitted by an elastic medium. Something that can be heard.</description>
<node>
<name>Environmental-sound</name>
<description>Sounds occuring in the environment. An accumulation of noise pollution that occurs outside. This noise can be caused by transport, industrial, and recreational activities.</description>
<description>Sounds occurring in the environment. An accumulation of noise pollution that occurs outside. This noise can be caused by transport, industrial, and recreational activities.</description>
<node>
<name>Crowd-sound</name>
<description>Noise produced by a mixture of sounds from a large group of people.</description>
Expand Down Expand Up @@ -3045,7 +3045,7 @@
</node>
<node>
<name>Statistical-recall</name>
<description>Sensitivity is a measurement datum qualifying a binary classification test and is computed by substracting the false negative rate to the integral numeral 1.</description>
<description>Sensitivity is a measurement datum qualifying a binary classification test and is computed by subtracting the false negative rate to the integral numeral 1.</description>
<node>
<name>#</name>
<attribute>
Expand Down Expand Up @@ -3631,7 +3631,7 @@
<description>Characterization of the physical features of a tract of land.</description>
<node>
<name>Composite-terrain</name>
<description>Tracts of land characterized by a mixure of physical features.</description>
<description>Tracts of land characterized by a mixture of physical features.</description>
</node>
<node>
<name>Dirt-terrain</name>
Expand Down
12 changes: 6 additions & 6 deletions hed/schema/schema_data/HED8.2.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ Each term in this vocabulary has a human-readable description and may include ad
</node>
<node>
<name>Predict</name>
<description>Say or estimate that something will happen or will be a consequence of something without having exact informaton.</description>
<description>Say or estimate that something will happen or will be a consequence of something without having exact information.</description>
</node>
<node>
<name>Recognize</name>
Expand Down Expand Up @@ -1412,7 +1412,7 @@ Each term in this vocabulary has a human-readable description and may include ad
</node>
<node>
<name>Tool</name>
<description>A component that is not part of a device but is designed to support its assemby or operation.</description>
<description>A component that is not part of a device but is designed to support its assembly or operation.</description>
</node>
</node>
<node>
Expand Down Expand Up @@ -1600,7 +1600,7 @@ Each term in this vocabulary has a human-readable description and may include ad
</node>
<node>
<name>Truck</name>
<description>A motor vehicle which, as its primary funcion, transports cargo rather than human passangers.</description>
<description>A motor vehicle which, as its primary function, transports cargo rather than human passangers.</description>
</node>
</node>
</node>
Expand Down Expand Up @@ -1642,7 +1642,7 @@ Each term in this vocabulary has a human-readable description and may include ad
<description>Mechanical vibrations transmitted by an elastic medium. Something that can be heard.</description>
<node>
<name>Environmental-sound</name>
<description>Sounds occuring in the environment. An accumulation of noise pollution that occurs outside. This noise can be caused by transport, industrial, and recreational activities.</description>
<description>Sounds occurring in the environment. An accumulation of noise pollution that occurs outside. This noise can be caused by transport, industrial, and recreational activities.</description>
<node>
<name>Crowd-sound</name>
<description>Noise produced by a mixture of sounds from a large group of people.</description>
Expand Down Expand Up @@ -3090,7 +3090,7 @@ Each term in this vocabulary has a human-readable description and may include ad
</node>
<node>
<name>Statistical-recall</name>
<description>Sensitivity is a measurement datum qualifying a binary classification test and is computed by substracting the false negative rate to the integral numeral 1.</description>
<description>Sensitivity is a measurement datum qualifying a binary classification test and is computed by subtracting the false negative rate to the integral numeral 1.</description>
<node>
<name>#</name>
<attribute>
Expand Down Expand Up @@ -3696,7 +3696,7 @@ Each term in this vocabulary has a human-readable description and may include ad
<description>Characterization of the physical features of a tract of land.</description>
<node>
<name>Composite-terrain</name>
<description>Tracts of land characterized by a mixure of physical features.</description>
<description>Tracts of land characterized by a mixture of physical features.</description>
</node>
<node>
<name>Dirt-terrain</name>
Expand Down
6 changes: 3 additions & 3 deletions hed/schema/schema_data/HED_score_1.0.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ For more information see https://hed-schema-library.readthedocs.io/en/latest/ind
</node>
<node>
<name>Saw-tooth-waves</name>
<description>Vertex negative 2-5 Hz waves occuring in series during REM sleep</description>
<description>Vertex negative 2-5 Hz waves occurring in series during REM sleep</description>
<attribute>
<name>suggestedTag</name>
<value>Finding-significance-to-recording</value>
Expand All @@ -591,7 +591,7 @@ For more information see https://hed-schema-library.readthedocs.io/en/latest/ind
</node>
<node>
<name>POSTS</name>
<description>Positive occipital sharp transients of sleep. Sharp transient maximal over the occipital regions, positive relative to other areas, apparently occurring spontaneously during sleep. May be single or repetitive. Amplitude varies but is generally bellow 50 microV.</description>
<description>Positive occipital sharp transients of sleep. Sharp transient maximal over the occipital regions, positive relative to other areas, apparently occurring spontaneously during sleep. May be single or repetitive. Amplitude varies but is generally below 50 microV.</description>
<attribute>
<name>suggestedTag</name>
<value>Finding-significance-to-recording</value>
Expand Down Expand Up @@ -1427,7 +1427,7 @@ For more information see https://hed-schema-library.readthedocs.io/en/latest/ind
</node>
<node>
<name>Rudimentary-spike-wave-complex</name>
<description>Synonym: Pseudo petit mal discharge. Paroxysmal discharge that consists of generalized or nearly generalized high voltage 3 to 4/sec waves with poorly developed spike in the positive trough between the slow waves, occurring in drowsiness only. It is found only in infancy and early childhood when marked hypnagogic rhythmical theta activity is paramount in the drowsy state.</description>
<description>Synonym: Pseudo petit mal discharge. Paroxysmal discharge that consists of generalized or nearly generalized high voltage 3 to 4/sec waves with poorly developed spike in the positive through between the slow waves, occurring in drowsiness only. It is found only in infancy and early childhood when marked hypnagogic rhythmical theta activity is paramount in the drowsy state.</description>
<attribute>
<name>suggestedTag</name>
<value>Brain-laterality</value>
Expand Down
Loading

0 comments on commit 8ac3ebb

Please sign in to comment.