Skip to content

Commit

Permalink
resolved Issue MDAnalysis#4026 (PR MDAnalysis#4049)
Browse files Browse the repository at this point in the history
* fix MDAnalysis#4026 
* fixed syntax error in h-bonds example docs
   (added missing brackets in the package/MDAnalysis/analysis/hydrogenbonds/hbond_analysis.py documentation)
* added @MoSchaeffler to contributors
  • Loading branch information
MoSchaeffler authored Mar 1, 2023
1 parent de6d0a8 commit 6fc901f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package/AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ Chronological list of authors
- Pratham Chauhan
- Meet Brijwani
- Vishal Parmar

- Moritz Schaeffler

External code
-------------
Expand Down
2 changes: 1 addition & 1 deletion package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The rules for this file:
------------------------------------------------------------------------------

??/??/?? IAlibay, pgbarletta, mglagolev, hmacdope, manuel.nuno.melo, chrispfae,
ooprathamm, MeetB7, BFedder, v-parmar
ooprathamm, MeetB7, BFedder, v-parmar, MoSchaeffler
* 2.5.0

Fixes
Expand Down
4 changes: 2 additions & 2 deletions package/MDAnalysis/analysis/hydrogenbonds/hbond_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@
water_hydrogens_sel = "resname TIP3 and name H1 H2"
water_acceptors_sel = "resname TIP3 and name OH2"
hbonds.hydrogens_sel = f"({protein_hydrogens_sel}) or ({water_hydrogens_sel}"
hbonds.acceptors_sel = f"({protein_acceptors_sel}) or ({water_acceptors_sel}"
hbonds.hydrogens_sel = f"({protein_hydrogens_sel}) or ({water_hydrogens_sel})"
hbonds.acceptors_sel = f"({protein_acceptors_sel}) or ({water_acceptors_sel})"
hbonds.run()
Expand Down

0 comments on commit 6fc901f

Please sign in to comment.