Skip to content

The Error in: gdf2npy.py lin 11 at: mne.find_events #1

@MortezaKarimian

Description

@MortezaKarimian

During running the gdf2npy.py, at line 11 of code the below error has been occurred:

events = mne.find_events(raw, initial_event = True )

ValueError: No stim channels found, but the raw object has annotations. Consider using mne.events_from_annotations to convert these to events.

my environment details are:
google colab - python ver 3 - CPU mode
mne version: 0.22 (and also test by ver 0.19 , in both version the error is same)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions