Skip to content

error when there is a .vmrk file but it has no markers inside #23

@amisepa

Description

@amisepa

I am trying to load these iEEG data (https://nemar.org/dataexplorer/detail?dataset_id=ds005953), which contain events in a tsv file instead of in the .vmrk file. But I am getting this error when MRK returns empty output:

Output argument "EVENT" (and possibly others) not assigned a value in the execution with "parsebvmrk" function.

Error in [pop_loadbv](matlab:matlab.lang.internal.introspective.errorDocCallback('pop_loadbv', '/Users/cedriccannard/Documents/MATLAB/eeglab/plugins/bva-io1.73/pop_loadbv.m', 398)) ([line 398](matlab: opentoline('/Users/cedriccannard/Documents/MATLAB/eeglab/plugins/bva-io1.73/pop_loadbv.m',398,0)))
EEG.event = parsebvmrk(MRK);

I've added a try - catch locally for that section of the code and it solved the issue. But would be good to add it to the main branch.

Cedric

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