Skip to content

Commit

Permalink
Merge pull request #92 from padix-key/master
Browse files Browse the repository at this point in the history
Solvent filter does not use 'hetero' field
  • Loading branch information
padix-key authored Mar 12, 2019
2 parents ed104a5 + f3fc99f commit c84cb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biotite/structure/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def filter_solvent(array):
This array is `True` for all indices in `array`, where the atom
belongs to the solvent.
"""
return ( np.in1d(array.res_name, _solvent_list) & (array.hetero == True) )
return np.in1d(array.res_name, _solvent_list)


def filter_amino_acids(array):
Expand Down

0 comments on commit c84cb0a

Please sign in to comment.