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 Aug 31, 2023
1 parent 6053e20 commit 8702990
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion graphein/protein/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,14 @@ def save_graph_to_pdb(
ppd = PandasPdb()

# Add blank columns
blank_cols = ["blank_1", "blank_2", "blank_3", "blank_4", "segment_id", "line_idx"]
blank_cols = [
"blank_1",
"blank_2",
"blank_3",
"blank_4",
"segment_id",
"line_idx",
]
for col in blank_cols:
if col not in atom_df.columns:
df[col] = ""
Expand Down

0 comments on commit 8702990

Please sign in to comment.