Constructs a BidsHedIssue object.
The HED issue object to be wrapped.
The file object associated with this issue.
The BIDS-compliant issue code.
The file associated with this issue.
The underlying HED issue object.
The human-readable issue message.
The line number where the issue occurred.
The path to the file where the issue occurred.
The severity of the issue (e.g., 'error' or 'warning').
The HED-specific issue code.
Static
categorizeCategorizes a list of issues by their subCode values.
A list of BIDS HED issues.
A map where keys are HED issue codes and values are arrays of issues.
Static
fromConverts a single HED issue into a BIDS-compatible issue.
A HED-format issue.
A BIDS-format file object used to generate a BidsHedIssue object.
Any extra parameters to inject into the Issue object.
The BIDS-compatible issue.
Static
fromConverts one or more HED issues into BIDS-compatible issues.
One or more HED-format issues.
A BIDS-format file object used to generate BidsHedIssue objects.
Any extra parameters to inject into the Issue objects.
An array of BIDS-compatible issues.
Static
processFilters and reduces a list of issues based on severity and user options, producing a new list.
If checkWarnings
is true, warnings will be included in the output, otherwise only errors will be included.
If limitErrors
is true, the output will be reduced to one issue of each subCode type in the list.
The message of each "representative" issue will be updated to summarize the number of occurrences and files.
A list of BIDS HED issues.
Whether to include warnings in the output.
Whether to reduce the list of issues to one of each type.
The processed list of issues.
Static
reduceReduces a list of issues to one of each subCode that occurred in the incoming list, summarizing the occurrences.
A list of BIDS HED issues.
A new list of issues with one issue of each type.
Static
splitTransforms a list of issues into a Map, keyed by severity level.
A list of BIDS HED issues.
A map where keys are severity levels and values are arrays of issues.
Static
transformTransforms a list of mixed-format issues into BIDS-compatible issues.
A list of mixed-format issues.
A BIDS-format file object used to generate BidsHedIssue objects.
An array of BIDS-compatible issues.
A wrapper for a HED validation issue that is compatible with the BIDS validator.
This class encapsulates a HED Issue object and provides additional properties and methods for BIDS-specific error reporting.