Skip to content

Skip loading info.json into ext.data#3047

Merged
alejoe91 merged 3 commits intoSpikeInterface:mainfrom
zm711:select-units
Jun 21, 2024
Merged

Skip loading info.json into ext.data#3047
alejoe91 merged 3 commits intoSpikeInterface:mainfrom
zm711:select-units

Conversation

@zm711
Copy link
Copy Markdown
Member

@zm711 zm711 commented Jun 19, 2024

Fixes #3041

Based on our discussion today. This patch is tested and working for select_units.

@zm711 zm711 added core Changes to core module bug Something isn't working labels Jun 19, 2024
@samuelgarcia
Copy link
Copy Markdown
Member

Merci Zach.
Sorry it was my mistake.
Did you made test with zarr also ?

@zm711
Copy link
Copy Markdown
Member Author

zm711 commented Jun 20, 2024

My group doesn't use the zarr option so no. We could add a test? and see if it works in the CI.

@samuelgarcia
Copy link
Copy Markdown
Member

maybe yes if you have time

@zm711
Copy link
Copy Markdown
Member Author

zm711 commented Jun 20, 2024

Based on tests passing it seems like zarr doesn't have this problem. Let me know if the test isn't too heavy. I personally think this is better. If we are reloading an analyzer we should check that it loads at least one extension as well, no?

if __name__ == "__main__":
tmp_path = Path("test_SortingAnalyzer")
dataset = _get_dataset()
dataset = get_dataset()
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is just because the function wasn't private above.

@samuelgarcia
Copy link
Copy Markdown
Member

You are the heroe.
A new saucisson is waiting for you in Lyon.

@alejoe91 alejoe91 merged commit 0ec6825 into SpikeInterface:main Jun 21, 2024
@zm711 zm711 deleted the select-units branch June 21, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working core Changes to core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

select_units fails in SortingAnalyzer after using load_sorting_analyzer

3 participants