Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ extractors = [
"MEArec>=1.8",
"pynwb>=2.6.0",
"hdmf-zarr>=0.11.0",
"pyedflib>=0.1.30",
#"pyedflib>=0.1.30",
"pyedflib>=0.1.30; python_version<'3.13'", # tests are failling with py3.13
"sonpy;python_version<'3.10'",
"lxml", # lxml for neuroscope
"scipy",
Expand Down
9 changes: 9 additions & 0 deletions src/spikeinterface/extractors/tests/test_neoextractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,15 @@ class AlphaOmegaEventTest(EventCommonTestSuite, unittest.TestCase):
]


try:
import pyedflib

HAVE_PYEDF = True
except:
HAVE_PYEDF = False


@pytest.mark.skipif(not (HAVE_PYEDF), reason="pyedflib is not installed")
class EDFRecordingTest(RecordingCommonTestSuite, unittest.TestCase):
ExtractorClass = EDFRecordingExtractor
downloads = ["edf"]
Expand Down
Loading