Skip to content

Commit

Permalink
stats considered sel
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Sep 18, 2024
1 parent ad77e93 commit cb23cc9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions prody/proteins/waterbridges.py
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,10 @@ def calcWaterBridgesStatistics(frames, trajectory, **kwargs):
if output not in ['info', 'indices']:
raise TypeError('Output should be info or indices!')

considered_atoms_sel = kwargs.pop('considered_atoms_sel', None)
if considered_atoms_sel is not None:
trajectory.select(considered_atoms_sel)

allCoordinates = trajectory.getCoordsets()
interactionCount = DictionaryList(0)
distances = DictionaryList([])
Expand Down

0 comments on commit cb23cc9

Please sign in to comment.