Skip to content

Commit

Permalink
findClusterCenters() improvement - HOH is added to water selection
Browse files Browse the repository at this point in the history
  • Loading branch information
karolamik13 committed Oct 6, 2024
1 parent 9fa736c commit 63ece76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prody/proteins/waterbridges.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ def findClusterCenters(file_pattern, **kwargs):
sel = coords_all.select(str(selection)+' within '+str(distC)+' of center',
center=coords_all.getCoords()[ii])

if'water' in selection.split():
if 'water' in selection.split() or 'HOH' in selection.split():
sel = coords_all.select('water within '+str(distC)+' of center',
center=coords_all.getCoords()[ii])

Expand Down

0 comments on commit 63ece76

Please sign in to comment.