Skip to content

Commit 45fb071

Browse files
committed
fix for residue grid search
1 parent aeb4638 commit 45fb071

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CodeEntropy/levels/search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,5 +236,6 @@ def get_grid_neighbors(self, universe, mol_id, highest_level):
236236
# Make sure that the neighbors list does not include
237237
# residues from the central molecule
238238
neighbors = search - fragment.residues
239+
neighbors = neighbors.atoms
239240

240241
return neighbors.fragindices

0 commit comments

Comments
 (0)