You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like peakdetect that you use depends on super-outdated scipy, for this reason I get:
from scipy import fft, ifft
ImportError: cannot import name 'ifft' from 'scipy' (/home/antonkulaga/.local/lib/python3.10/site-packages/scipy/__init__.py)
The proper way to import is:
from scipy.fft import ifft
The text was updated successfully, but these errors were encountered:
@antonkulaga what version of Omnipose are you using? Peakdetect was removed from the dependencies a while ago. I do see that I have it in a conda env file for linux installs, which has not been updated in a while.
I've got the same issue, pip installed the latest version (1.0.6) of Omnipose today on Windows.
As scipy does not appear to have the version pinned, it installs the latest version of scipy: version 1.14.0.
So the problem is that peakdetect is ancient, doesn't have scipy version pinned - which would require an equally ancient version of scipy (<1.3.0?).
The change you mention @antonkulaga does not appear to be in the latest release of Omnipose on pypi yet: e349761
Looks like peakdetect that you use depends on super-outdated scipy, for this reason I get:
The proper way to import is:
The text was updated successfully, but these errors were encountered: