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

[Bug] spike_train_synchrony module not importable #96

Closed
essink opened this issue Oct 13, 2022 · 4 comments
Closed

[Bug] spike_train_synchrony module not importable #96

essink opened this issue Oct 13, 2022 · 4 comments

Comments

@essink
Copy link

essink commented Oct 13, 2022

Describe the bug
I wanted to use the Synchrotool, but the spike_train_synchrony module was not importable.

To Reproduce

  1. pip install latest elephant
  2. import elephant
  3. elephant.spike_train_sychrony fails with:

Traceback (most recent call last):
File "", line 1, in
AttributeError: module 'elephant' has no attribute 'spike_train_sychrony'

Expected behavior
Import should work.

Environment

  • OS (e.g., Linux): Linux
  • How you installed elephant (conda, pip, source): pip
  • Python version: 3.10.4
  • neo python package version: 0.11.0
  • elephant python package version: 0.11.1

If I am not mistaken, it is just not listed in the elephant/__init__.py.

@mdenker
Copy link
Member

mdenker commented Oct 13, 2022

Hi @essink
Thanks for the issue. Sadly, I'm not able to confirm the issue as of now (with python 3.10, pip install). Also, with the latest github dev release, I cannot reproduce the issue. Are you sure, the correct elephant is being imported?

@essink
Copy link
Author

essink commented Oct 13, 2022

Hi @mdenker,

thanks for checking. Just reconfirmed my problem (with python 3.10, pip install), and indeed I reported it wrongly. I just edited the issue report.

Sorry!

@mdenker
Copy link
Member

mdenker commented Oct 13, 2022

Ah, yes, this makes more sense. I'll make a PR on the main elephant git repo to include the sync module.

@mdenker
Copy link
Member

mdenker commented Oct 13, 2022

Fixed by NeuralEnsemble#518

@mdenker mdenker closed this as completed Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants