Skip to content

added support for warnings stdlib #1393

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdriTara
Copy link

Welcome to deepTools GitHub repository! Please check the following regarding
your pull request :

  • Does the PR contain new feature?
  • Does the PR contain bugfix?
    An error was raising while using computeMatrixOperations filterValues on NumPy version 1.26.4. I think NumPy deleted the link to the warnings stdlib as of version 1.21.5 (See stackoverflow thread). Therefore, the script computeMatrixOperations.py fails on line 432, raising:
np.warnings.filterwarnings('ignore')
AttributeError: module 'numpy' has no attribute 'warnings'. Did you mean: 'hanning'?

Therefore, based on the same stackoverflow thread I modified all the files importing numpy to add support for warnings. The other option is to comment the line 432 as suggested in #1358 .

  • Does the PR contain documentation changes?
  • Does the PR contain changes to the galaxy wrapper?

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

Successfully merging this pull request may close these issues.

1 participant