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

AttributeError: module 'spikeinterface.extractors' has no attribute 'RecordingExtractor' #3423

Open
Chiara-toschi opened this issue Sep 18, 2024 · 2 comments
Labels
question General question regarding SI

Comments

@Chiara-toschi
Copy link

Apologies if this is super naive, I'm kind of new to python, I'm using someone else's code to do some analyses.

I run

import spikeinterface.extractors as se

and then further down in the code:

def get_amp_files(self) -> (se.RecordingExtractor, pd.Series):

and get this error:

in AmplifierChannels
    def get_amp_files(self) -> (se.RecordingExtractor, pd.Series):
AttributeError: module 'spikeinterface.extractors' has no attribute 'RecordingExtractor'

I'm running Version: 0.95.1 of spikeinterface and cannot update it because I think everything else will break

@zm711
Copy link
Collaborator

zm711 commented Sep 18, 2024

That's pretty old. Sorry you can't update. @alejoe91 or @samuelgarcia would have to comment on the older side of the api. The best advice would honestly be to update in general. If you're new to python maybe this could be a learning experience to update the code while learning :) We are pretty responsive to questions as they come up!

@zm711 zm711 added the question General question regarding SI label Sep 18, 2024
@chrishalcrow
Copy link
Collaborator

If you do think of updating your version, we have some good beginner resources. You could try working through the quickstart tutorial (https://spikeinterface.readthedocs.io/en/latest/get_started/quickstart.html) or download this Jupyter notebook from a recently conference in Edinburgh (https://github.com/SpikeInterface/SpikeInterface-Training-Edinburgh-May24/blob/main/overview_tutorials/main_tutorial.ipynb), which covers similar material.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question regarding SI
Projects
None yet
Development

No branches or pull requests

3 participants