Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip loading info.json into ext.data #3047

Merged
merged 3 commits into from
Jun 21, 2024
Merged

Conversation

zm711
Copy link
Collaborator

@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
Member

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

@zm711
Copy link
Collaborator 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
Member

maybe yes if you have time

@zm711
Copy link
Collaborator 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?

@@ -312,7 +325,7 @@ def test_extensions_sorting():

if __name__ == "__main__":
tmp_path = Path("test_SortingAnalyzer")
dataset = _get_dataset()
dataset = get_dataset()
Copy link
Collaborator 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
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
11 checks passed
@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