Skip to content

Commit

Permalink
use names as channel ids in plexon
Browse files Browse the repository at this point in the history
  • Loading branch information
h-mayorquin committed Jun 22, 2024
1 parent 2dc0b74 commit fd6369b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/spikeinterface/extractors/neoextractors/plexon2.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ class Plexon2RecordingExtractor(NeoBaseRecordingExtractor):
def __init__(self, file_path, stream_id=None, stream_name=None, all_annotations=False):
neo_kwargs = self.map_to_neo_kwargs(file_path)
NeoBaseRecordingExtractor.__init__(
self, stream_id=stream_id, stream_name=stream_name, all_annotations=all_annotations, **neo_kwargs
self,
stream_id=stream_id,
stream_name=stream_name,
all_annotations=all_annotations,
use_names_as_ids=True,
**neo_kwargs,
)
self._kwargs.update({"file_path": str(file_path)})

Expand Down

0 comments on commit fd6369b

Please sign in to comment.