Skip to content

Conversation

@spyke7
Copy link
Contributor

@spyke7 spyke7 commented Nov 26, 2025

Fixes #5157

Changes made in this Pull Request:

  • Removed the "always" keyword for DeprecationWarning in hbonds_autocorrel.py
  • Kept the message same

@marinegor @PicoCentauri Updated the hbonds_autocorrel.py please check it!

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added?
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS? (If it is not, add it!)

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.


📚 Documentation preview 📚: https://mdanalysis--5159.org.readthedocs.build/en/5159/

@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.72%. Comparing base (b62e2f7) to head (66f4217).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5159      +/-   ##
===========================================
- Coverage    92.72%   92.72%   -0.01%     
===========================================
  Files          180      180              
  Lines        22472    22470       -2     
  Branches      3188     3188              
===========================================
- Hits         20837    20835       -2     
  Misses        1177     1177              
  Partials       458      458              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines +34 to +48
11/26/25 IAlibay, orbeckst, marinegor, tylerjereddy, ljwoods2, marinegor, spyke7

* 2.11.0

Fixes
* Fixes the DeprecationWarning in hbonds_autocorrel.py so as the warning
can be suppressed in mdacli which are not needed(Issue #5157, PR #5159)

Changes
* In the hbonds\hbonds_autocorrel.py, removed the always keyword. And keeping
the message same (Issue #5157, PR #5159)

Deprecations


Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add the CHANGELONG entries alonside the 2.11.0 version above, not add a new entry for your PR. See #5160.

@spyke7
Copy link
Contributor Author

spyke7 commented Nov 27, 2025

@marinegor I resolved the conflict. And do I have to fix any other things?

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.

Deprecation warning in hbonds_autocorrel.py is always shown - warning filter uses always

2 participants