Skip to content

Commit

Permalink
Changed ONSET_OFFSET_INSET_ERROR to TEMPORAL_TAG_ERROR
Browse files Browse the repository at this point in the history
  • Loading branch information
VisLab committed Aug 24, 2024
1 parent 2d0e0b9 commit 7e13e9c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions common/issues/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,32 +135,32 @@ export default {
message: stringTemplate`Mixed definition and non-definition tags or tag groups were found in string "${'string'}" in a context where only one type is allowed.`,
},
inactiveOnset: {
hedCode: 'ONSET_OFFSET_INSET_ERROR',
hedCode: 'TEMPORAL_TAG_ERROR',
level: 'error',
message: stringTemplate`${'tag'} found for inactive onset with definition name and value "${'definition'}".`,
},
temporalWithoutInnerGroup: {
hedCode: 'ONSET_OFFSET_INSET_ERROR',
hedCode: 'TEMPORAL_TAG_ERROR',
level: 'error',
message: stringTemplate`${'tag'} found without an included inner top-level tag group. This instance's tag group is "${'tagGroup'}".`,
},
temporalWithMultipleDefinitions: {
hedCode: 'ONSET_OFFSET_INSET_ERROR',
hedCode: 'TEMPORAL_TAG_ERROR',
level: 'error',
message: stringTemplate`${'tag'} found with multiple included definitions. This instance's tag group is "${'tagGroup'}".`,
},
temporalWithoutDefinition: {
hedCode: 'ONSET_OFFSET_INSET_ERROR',
hedCode: 'TEMPORAL_TAG_ERROR',
level: 'error',
message: stringTemplate`${'tag'} found without an included definition. This instance's tag group is "${'tagGroup'}".`,
},
extraTagsInTemporal: {
hedCode: 'ONSET_OFFSET_INSET_ERROR',
hedCode: 'TEMPORAL_TAG_ERROR',
level: 'error',
message: stringTemplate`Extra non-definition top-level tags or tag groups found in onset or offset group with definition "${'definition'}".`,
},
duplicateTemporal: {
hedCode: 'ONSET_OFFSET_INSET_ERROR',
hedCode: 'TEMPORAL_TAG_ERROR',
level: 'error',
message: stringTemplate`HED event string "${'string'}" has onset/offset tags with duplicated definition "${'definition'}".`,
},
Expand Down

0 comments on commit 7e13e9c

Please sign in to comment.