HED JavaScript Library
    Preparing search index...

    Class that performs basic parsing and splicing.

    Index

    Constructors

    Properties

    hedSchemas: Schemas

    The HED schema collection being parsed against.

    tsvFile: BidsTsvFile

    The BIDS TSV file being parsed.

    braceRegEx: RegExp = ...
    nullSet: Set<string> = ...

    Methods

    • Parse element HED strings.

      Parameters

      • elements: BidsTsvElement[]

        The objects representing tsv rows with their parsed HEd strings.

      Returns any[]

      • [BidsHedIssue[], BidsHedIssue[]] The errors and warnings resulting in creating the parsed HED strings.
    • Combine the BIDS sidecar HED data into a BIDS TSV file's HED data.

      Returns any[]

      • Returns a two-element array [BidsTsvElement[], BidsHedIssue[], BidsHedIssue[]].
    • Update the map to splice-in the values for columns that have splices.

      Parameters

      • columnMap: Map<any, any>

        Map of column name to HED string for a row.

        Note: Updates the map in place.

      Returns void