Skip to content

Remove unused extractor attribute extractor_name#2874

Merged
alejoe91 merged 8 commits intoSpikeInterface:mainfrom
h-mayorquin:remove_extractor_name
Jul 3, 2024
Merged

Remove unused extractor attribute extractor_name#2874
alejoe91 merged 8 commits intoSpikeInterface:mainfrom
h-mayorquin:remove_extractor_name

Conversation

@h-mayorquin
Copy link
Copy Markdown
Collaborator

Ok, this is within the context of the discussion in #2784

This is an unused attribute as far as my search skills in the repo point out. There is a mention to it ne neo utils but reading the function it actually does not use extractor_name it but uses the name attribute:

https://github.com/h-mayorquin/spikeinterface/blob/5d743469765f60ed5fbfaa819e45a5ae457d7722/src/spikeinterface/extractors/neoextractors/neo_utils.py#L6-L29

In general I think that there are some equivocations between class.__name__ and the name attribute on the package. I did a small change in the repr to disambiguate this.

@h-mayorquin h-mayorquin requested a review from alejoe91 May 17, 2024 15:50
@h-mayorquin h-mayorquin self-assigned this May 17, 2024
@h-mayorquin h-mayorquin added extractors Related to extractors module deprecations Related to code deprecation labels May 17, 2024
@h-mayorquin
Copy link
Copy Markdown
Collaborator Author

Requires #2876 for some reason : O

@samuelgarcia samuelgarcia added this to the 0.101.0 milestone Jun 12, 2024
@samuelgarcia
Copy link
Copy Markdown
Member

Merci. We can merge when tets pass

@alejoe91 alejoe91 merged commit 9513be4 into SpikeInterface:main Jul 3, 2024
@h-mayorquin h-mayorquin deleted the remove_extractor_name branch July 9, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecations Related to code deprecation extractors Related to extractors module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants