Skip to content

Update _donor, _hydrogens, and _acceptors AtomGroups in HBondAnalysis whenever the selection strings are changed. #5018

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

Merged
merged 6 commits into from
Apr 16, 2025

Conversation

yuxuanzhuang
Copy link
Contributor

@yuxuanzhuang yuxuanzhuang commented Apr 8, 2025

Fixes #5010

Changes made in this Pull Request:

  • donors_sel, hydrogens_sel, and acceptors_sel properties and update _donor, _hydrogens and _acceptors when the selection strings are changed.

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--5018.org.readthedocs.build/en/5018/

Copy link

codecov bot commented Apr 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.62%. Comparing base (089f49e) to head (fb7d130).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5018   +/-   ##
========================================
  Coverage    93.61%   93.62%           
========================================
  Files          177      177           
  Lines        21907    21932   +25     
  Branches      3100     3102    +2     
========================================
+ Hits         20508    20533   +25     
  Misses         946      946           
  Partials       453      453           

☔ 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.

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

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

lgtm, thanks @yuxuanzhuang !

@orbeckst
Copy link
Member

@yuxuanzhuang please feel free to squash-merge yourself (just condense the log message).

@yuxuanzhuang yuxuanzhuang merged commit 740332c into MDAnalysis:develop Apr 16, 2025
24 checks passed
@yuxuanzhuang yuxuanzhuang deleted the hbond_prop branch April 16, 2025 09:14
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.

H-bond selection discrepency from version 2.8+
3 participants