Skip to content

Let get_streams work from the path alone on Neuralynx, Biocam and Blackrock - #4727

Open
h-mayorquin wants to merge 2 commits into
SpikeInterface:mainfrom
h-mayorquin:automatic_propagation
Open

Let get_streams work from the path alone on Neuralynx, Biocam and Blackrock#4727
h-mayorquin wants to merge 2 commits into
SpikeInterface:mainfrom
h-mayorquin:automatic_propagation

Conversation

@h-mayorquin

@h-mayorquin h-mayorquin commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

When adding exclude_filename to NeuralynxSortingExtractor (the recording extractor already had it and both go through the same NeuralynxRawIO) I realized that get_neo_streams("neuralynx", folder_path) throws a TypeError. The extra arguments in map_to_neo_kwargs have no defaults so the call fails on our own signature before neo is reached. Biocam is the same and blackrock never passed gap_tolerance_ms through there at all.

I added the defaults that the constructors already pass. All these errors have the same shape so I think it is good to add a general check instead of a test for the three formats that I found. I am adding it to RecordingCommonTestSuite to avoid this problem in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant