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

plotProfile error on matrix created with --maxThreshold set #1346

Open
vojtace opened this issue Dec 3, 2024 · 0 comments
Open

plotProfile error on matrix created with --maxThreshold set #1346

vojtace opened this issue Dec 3, 2024 · 0 comments

Comments

@vojtace
Copy link

vojtace commented Dec 3, 2024

When I run plotProfile on matrix created with the --maxThreshold set I get an error. When I don't use --maxThreshold with computeMatrix or when I downgrade numpy to 1.22.0 everything works fine.

Software version causing the error: deeptools 3.5.5, python 3.12.7 and numpy 1.26.4 (i.e. what I get from "conda install deeptools" at this moment)

The error:
Traceback (most recent call last):
File "/home/user/miniforge3/envs/genomics/bin/plotProfile", line 10, in
sys.exit(main())
^^^^^^
File "/home/user/miniforge3/envs/genomics/lib/python3.12/site-packages/deeptools/plotProfile.py", line 919, in main
filterHeatmapValues(hm, hm.parameters['min threshold'], hm.parameters['max threshold'])
File "/home/user/miniforge3/envs/genomics/lib/python3.12/site-packages/deeptools/computeMatrixOperations.py", line 430, in filterHeatmapValues
np.warnings.filterwarnings('ignore')
^^^^^^^^^^^
File "/home/user/miniforge3/envs/genomics/lib/python3.12/site-packages/numpy/init.py", line 333, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'warnings'. Did you mean: 'hanning'?
Traceback (most recent call last):
File "/usr/lib/python3.12/urllib/request.py", line 1506, in open_local_file
stats = os.stat(localfile)

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

1 participant