Internal
Constructs a BidsHedIssue object.
Direct use of this constructor is not recommended. Use BidsHedIssue.fromHedIssues.
ReadonlycodeThe BIDS-compliant issue code.
ReadonlyfileThe file associated with this issue.
ReadonlyhedThe underlying HED issue object.
The human-readable issue message.
ReadonlylineThe line number where the issue occurred.
ReadonlylocationThe path to the file where the issue occurred.
ReadonlyseverityThe severity of the issue (e.g., 'error' or 'warning').
ReadonlysubThe HED-specific issue code.
StaticaddAdd new parameters to the underlying HED issues of a list of BIDS issues and regenerate the issue messages.
A list of BIDS-compatible issues.
The parameters to add.
StaticcategorizeCategorize 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.
StaticfromConvert 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.
StaticfromConvert 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.
StaticprocessFilter and reduce a list of issues based on severity and user options, producing a new list.
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.
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.
StaticreduceReduce 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.
StaticsplitTransform 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.
StatictransformTransform 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.