Skip to content

Commit

Permalink
feat: Pass hedCode as subcode to group errors
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 3, 2024
1 parent 0a2530b commit e21742a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bids-validator/src/validators/hed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export async function hedValidate(
const location = hedIssue.file ? hedIssue.file.path : ''
context.dataset.issues.add({
code: hedOldToNewLookup[code],
subCode: hedIssue.hedIssue.hedCode,
location,
issueMessage: hedIssue.evidence,
})
Expand Down

0 comments on commit e21742a

Please sign in to comment.