Skip to content

Commit efcc32a

Browse files
authored
Merge pull request #4064 from zm711/read-neuroscope
Add `read_neuroscope` to `__all__` for extractors
2 parents c087e2b + 7151a30 commit efcc32a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/spikeinterface/extractors/extractor_classes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
# sorting/recording/event from neo
2121
from .neoextractors import *
22+
from .neoextractors import read_neuroscope
2223

2324
# non-NEO objects implemented in neo folder
2425
# keep for reference Currently pulling from neoextractor __init__
@@ -84,7 +85,7 @@
8485
# * A mapping from the original class to its wrapper string (because of __all__)
8586
# * A mapping from format to the class wrapper for convenience (exposed to users for ease of use)
8687
#
87-
# To achieve these there goals we do the following:
88+
# To achieve these three goals we do the following:
8889
#
8990
# 1) we line up each class with its wrapper that returns a snakecase version of the class (in some docs called
9091
# the "function" version, although this is just a wrapper of the underlying class)
@@ -161,7 +162,7 @@
161162
# (e.g. 'intan' , 'kilosort') and values being the appropriate Extractor class returned as its wrapper
162163
# (e.g. IntanRecordingExtractor, KiloSortSortingExtractor)
163164
# An important note is the the formats are returned after performing `.lower()` so a format like
164-
# SpikeGLX will be a key of 'spikeglx'
165+
# SpikeGLX will have a key of 'spikeglx'
165166
# for example if we wanted to create a recording from an intan file we could do the following:
166167
# >>> recording = se.recording_extractor_full_dict['intan'](file_path='path/to/data.rhd')
167168

@@ -198,5 +199,6 @@
198199
"snippets_extractor_full_dict",
199200
"read_binary", # convenience function for binary formats
200201
"read_zarr",
202+
"read_neuroscope", # convenience function for neuroscope
201203
]
202204
)

0 commit comments

Comments
 (0)