Closed essink closed 2 years ago
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?
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!
Ah, yes, this makes more sense. I'll make a PR on the main elephant git repo to include the sync module.
Fixed by #518
Describe the bug I wanted to use the Synchrotool, but the spike_train_synchrony module was not importable.
To Reproduce
import elephant
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
conda
,pip
, source): pipneo
python package version: 0.11.0elephant
python package version: 0.11.1If I am not mistaken, it is just not listed in the
elephant/__init__.py
.