Skip to content

Commit

Permalink
Changed to group as is not a tag
Browse files Browse the repository at this point in the history
  • Loading branch information
VisLab committed May 30, 2023
1 parent b0582af commit c1e5a5f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions docs/source/03_HED_formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -835,11 +835,11 @@ where `xxx` is the definition's name and `yyy` is a tag group containing
the definitions contents.

The two usages are equivalent, and tools should be able to transform between the two representations.
Note, however, that transforming from a `Def` to a `Def-expand-group` requires the definition,
while transforming from a `Def-expand-group` to `Def` form does not.
Note, however, that transforming from a `Def` tag to a `Def-expand` group requires the definition,
while transforming from a `Def-expand` group to `Def` tag does not.

For definitions that include a placeholder, a value must be substituted for
the `#` placeholder in `Def` and `Def-expand-group` when final
the `#` placeholder in `Def` tag and `Def-expand` group when final
annotation assembly occurs.

See [**DEF_INVALID**](./Appendix_B.md#def_invalid) and
Expand All @@ -855,17 +855,17 @@ The `Onset` and `Offset` tags are used to represent the temporal extent
of events that have non-zero duration.

Each of these tags must appear in a top level tag group with a
`Def` or `Def-expand-group` anchor.
`Def` tag or `Def-expand` group anchor.

A tag group with an `Onset` represents the start of an event that extends over time.
A tag group with an `Offset` represents the end of an event that was previously initiated by an `Onset` group.
A given event of temporal extent is also terminated by the appearance of another
`Onset` group with the same `Def` or `Def-expand-group` anchor.
`Onset` group with the same `Def` tag or `Def-expand` group anchor.

The `Onset` tag group may only contain its `Def` or `Def-expand-group` anchor and
The `Onset` tag group may only contain its `Def` tag or `Def-expand` group anchor and
at most one additional inner tag group in addition to the `Onset` tag.

The `Offset` tag group may only contain its `Def` or `Def-expand-group` anchor in
The `Offset` tag group may only contain its `Def` tag or `Def-expand` group anchor in
addition to the `Offset` tag.

These requirements imply that `Onset` and `Offset` must be the only tags
Expand Down
4 changes: 2 additions & 2 deletions docs/source/05_Advanced_annotation.md
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ the same as the value used for its `Onset`.
``````


### 5.3.2. Using `Duration`
### 5.3.3. Using `Duration`

The `Duration` tag is an alternative method for specifying an event with temporal scope.
The start of the temporal scope is the event in which the `Duration` tag appears.
Expand Down Expand Up @@ -468,7 +468,7 @@ neural response, which is the case for many events involving visual or auditory
The use of the `Duration` tag will not be fully supported by validators until HED
standard schema version 8.2.0.

### 5.3.3. Using `Delay`
### 5.3.4. Using `Delay`

The `Delay` tag is grouped with an inner tag group to indicate that the associated tag-group is
actually an implicit event that occurs at a time offset from the current event.
Expand Down
6 changes: 3 additions & 3 deletions docs/source/Appendix_B.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ different placeholder substitutions are considered to be different.

**a.** An `Onset` or `Offset` tag does not appear in a tag group.
**b.** An `Onset` or `Offset` tag appears in a nested tag group (not a top-level tag group).
**c.** An `Onset` or `Offset` tag is not grouped with exactly one `Def` tag or `Def-expand-group`.
**c.** An `Onset` or `Offset` tag is not grouped with exactly one `Def` tag or `Def-expand` group.
**d.** An `Onset` group has more than one additional tag group.
**e.** An `Offset` appears with one or more tags or additional tag groups.
**f.** An `Offset` tag appears before an `Onset` tag associated with the same definition.
**g.** An `Offset` tag associated with a given definition appears after a previous `Offset` tag.
without the appearance of an intervening `Onset` of the same name.
**h.** An `Onset` tag group with has tags besides the anchor `Def` or `Def-expand-group`
**h.** An `Onset` tag group with has tags besides the anchor `Def` tag or `Def-expand` group
that are not in a tag group.
**i.** An `Onset`, `Inset` or `Offset` with a given `Def` or `Def-expand-group` anchor
**i.** An `Onset`, `Inset` or `Offset` with a given `Def` tag or `Def-expand` group anchor
appears in an event marker with the same time as with another `Onset`, `Inset`, or `Offset`
that uses the same anchor.
**j.** An `Inset` tag is not grouped with a `Def` or `Def-expand` of an ongoing `Onset`.
Expand Down

0 comments on commit c1e5a5f

Please sign in to comment.