Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,21 @@ Changes
Deprecations


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


Comment on lines +37 to +51
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.

11/24/25 IAlibay, orbeckst, marinegor, tylerjereddy, ljwoods2, marinegor, spyke7

* 2.11.0
Expand Down
14 changes: 6 additions & 8 deletions package/MDAnalysis/analysis/hbonds/hbond_autocorrel.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,12 @@
"""
import warnings

with warnings.catch_warnings():
warnings.simplefilter("always", DeprecationWarning)
wmsg = (
"This module was moved to "
"MDAnalysis.analysis.hydrogenbonds.hbond_autocorrel; "
"hbonds.hbond_autocorrel will be removed in 3.0.0."
)
warnings.warn(wmsg, category=DeprecationWarning)
wmsg = (
"This module was moved to "
"MDAnalysis.analysis.hydrogenbonds.hbond_autocorrel; "
"hbonds.hbond_autocorrel will be removed in 3.0.0."
)
warnings.warn(wmsg, category=DeprecationWarning)

from MDAnalysis.lib.util import deprecate

Expand Down
Loading