Skip to content

Add a SortingAnalyzer fixture to the cross-version serialization tests - #4876

Merged
alejoe91 merged 1 commit into
SpikeInterface:mainfrom
h-mayorquin:serialization_analyzer_fixture
Oct 19, 2026
Merged

alejoe91 merged 1 commit into
SpikeInterface:mainfrom
h-mayorquin:serialization_analyzer_fixture

Conversation

@h-mayorquin

@h-mayorquin h-mayorquin commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

This is a peel-off of Alessio's serialization fixture from #4260 to simplify it. The files are identical to their versions there, so merging main into that branch produces no conflicts for them.

I am doing this first because #4260 changes the on-disk format of the SortingAnalyzer, and I want a test on main that analyzers saved by released versions still load before that lands. The fixture saves an analyzer with every extension in each old release and checks that all of them reload with their data.

It already caught a bug on main: spiketrain_metrics sets need_backward_compatibility_on_load = True without implementing the handler, so any analyzer with that extension fails to load, even one saved by main. I set the flag to False, as in #4260.

Co-authored-by: Alessio Buccino <alejoe9187@gmail.com>
@h-mayorquin h-mayorquin mentioned this pull request Oct 16, 2026
@alejoe91 alejoe91 added the core Changes to core module label Oct 19, 2026
@alejoe91
alejoe91 merged commit 2f024c8 into SpikeInterface:main Oct 19, 2026
17 checks passed
@h-mayorquin
h-mayorquin deleted the serialization_analyzer_fixture branch October 20, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants