Skip to content

duration not being made if it is not a column in EEG.event #227

@neuromechanist

Description

@neuromechanist

AFAIK, duration is not a default column in EEG.event. So, if duration is not present in the EEG.event and the user has not mentioned it, the line below will skip creating the duration column. This makes the dataset incompatible with BIDS.

I think the second condition should be removed.

if ~any(strcmp(bids_fields,'duration')) && isfield(EEG.event, 'duration'), opt.eInfo(end+1,:) = { 'duration' 'duration' }; end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions