Skip to content

Commit

Permalink
correct deprotonation selection #198
Browse files Browse the repository at this point in the history
  • Loading branch information
a-r-j committed Jul 27, 2022
1 parent bb4ba76 commit d494592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphein/protein/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def deprotonate_structure(df: pd.DataFrame) -> pd.DataFrame:
"Deprotonating protein. This removes H atoms from the pdb_df dataframe"
)
return filter_dataframe(
df, by_column="atom_name", list_of_values=["H"], boolean=False
df, by_column="element_symbol", list_of_values=["H"], boolean=False
)


Expand Down

0 comments on commit d494592

Please sign in to comment.