Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 28, 2023
1 parent 45b020e commit d6647be
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions graphein/protein/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,12 +417,8 @@ def save_graph_to_pdb(
for col in blank_cols:
if col not in df.columns:
df[col] = ""
atom_df = filter_dataframe(
df, "record_name", ["ATOM"], boolean=True
)
hetatm_df = filter_dataframe(
df, "record_name", ["HETATM"], boolean=True
)
atom_df = filter_dataframe(df, "record_name", ["ATOM"], boolean=True)
hetatm_df = filter_dataframe(df, "record_name", ["HETATM"], boolean=True)

if atoms:
ppd.df["ATOM"] = atom_df
Expand Down

0 comments on commit d6647be

Please sign in to comment.