hed-typescript API
    Preparing search index...

    Class BidsSidecar

    Hierarchy (View Summary)

    Index
    columnSpliceMapping: Map<string, Set<string>>
    columnSpliceReferences: Set<string>
    definitions: DefinitionManager
    file: FilePath

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

    hedCategoricalStrings: string[]
    hedData: Map<string, string | Map<string, string>>
    hedValueStrings: string[]
    jsonData: JsonObject

    This file's JSON data.

    name: string

    The name of this file.

    parsedHedData: Map<string, default | Map<string, default | null> | null>
    sidecarKeys: Map<string, BidsSidecarKey>
    • get hasHedData(): boolean

      Determine whether this file has any HED data.

      Returns boolean

    • get validatorClass(): BidsValidatorConstructor

      The validator class used to validate this file.

      Returns BidsValidatorConstructor

      The validator class used to validate this file.

    • Parse this sidecar's HED strings within the sidecar structure.

      Note: This is called during the sidecar validation process.

      The parsed strings are placed into parsedHedData.

      Parameters

      • hedSchemas: HedSchemas

        The HED schema collection.

      • fullValidation: boolean = false

        True if full validation should be performed.

      Returns [Issue[], Issue[]]

      Any errors and warnings found.