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

Scipy nanmean issue in predict.py for chrombpnet docker #208

Closed
pl92297 opened this issue Sep 25, 2024 · 1 comment
Closed

Scipy nanmean issue in predict.py for chrombpnet docker #208

pl92297 opened this issue Sep 25, 2024 · 1 comment

Comments

@pl92297
Copy link

pl92297 commented Sep 25, 2024

Hello,

Running chrombpnet through the kundajelab docker image currently fails at the prediction step fails with the following error:

ImportError: cannot import name 'nanmean' from 'scipy' (/opt/conda/lib/python3.9/site-packages/scipy/__init__.py)

This may have been a versioning issue, but nanmean was deprecated for scipy in 0.18.0 and will not work for the installed version of scipy in the docker container (scipy 1.13.1). Either changing the docker scipy version or modifying predict.py to use numpy nanmean and nanstd may fix this.

Thanks!

@panushri25
Copy link
Collaborator

duplicate report #201

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