Skip to content

Commit

Permalink
Merge pull request #41 from nxtloveev3/main
Browse files Browse the repository at this point in the history
Update solute_info.py
  • Loading branch information
ffangliu committed Mar 22, 2024
2 parents 8c0a7ac + 1dfc079 commit a307c63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autosolvate/solute_info.py
Expand Up @@ -102,8 +102,8 @@ def corresponding_distance(self, column, column1, column2):
Distance: int
"""
right = np.where(column == column.max())
left = np.where(column == column.min())
right = np.where(column == column.max())[0][0]
left = np.where(column == column.min())[0][0]

dis = self.distance_3D(column[left], column1[left], column2[left], column[right], column1[right], \
column2[right])
Expand Down

0 comments on commit a307c63

Please sign in to comment.