hed-typescript API
    Preparing search index...

    Class BidsTsvFile

    A BIDS TSV file.

    Hierarchy (View Summary)

    Index
    badCellCounts: { cells: number; expected: number; line: number }[]

    The lines other than the first whose number of cells differs from the first line's (TABULAR_INVALID).

    blankColumns: number[]

    The 1-based positions of the blank column names (TABULAR_INVALID).

    duplicateColumns: string[]

    The column names that appear more than once in the header (TABULAR_INVALID).

    emptyLines: number[]

    The 1-based numbers of the empty lines other than the first (TABULAR_INVALID).

    file: FilePath

    The Object representing this file data. This is used to generate BidsHedIssue objects.

    hedColumnHedStrings: string[]

    HED strings in the "HED" column of the TSV data.

    mergedSidecar: BidsSidecar

    The pseudo-sidecar object representing the merged sidecar data.

    name: string

    The name of this file.

    paddedColumns: string[]

    The column names that begin or end with whitespace (TABULAR_INVALID), each once in header order.

    parsedTsv: ParsedTSV

    This file's parsed TSV data.

    • get hasHedData(): boolean

      Determine whether this file has any HED data.

      Returns boolean

      Whether this file has any HED data.

    • get isTimelineFile(): boolean

      Whether this TSV file is a timeline file.

      Returns boolean

      Whether this TSV file is a timeline file.

    • get validatorClass(): BidsValidatorConstructor

      The validator class used to validate this file.

      Returns BidsValidatorConstructor

      The validator class used to validate this file.