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 Feb 6, 2024
1 parent ee06903 commit a8da5df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/protein/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ def test_save_graph_to_pdb():

# Check for equivalence between saved and existing DFs.
# We drop the line_idx columns as these will be renumbered
#assert_frame_equal(
# assert_frame_equal(
# a.drop(["line_idx"], axis=1),
# g.graph["pdb_df"].drop(["line_idx", "node_id", "residue_id"], axis=1),
#)
# )
assert_frame_equal(
a, g.graph["pdb_df"].drop(["node_id", "residue_id"], axis=1)
)
Expand All @@ -51,10 +51,10 @@ def test_save_pdb_df_to_pdb():
assert os.path.isfile("/tmp/test_graph.pdb")

# We drop the line_idx columns as these will be renumbered
#assert_frame_equal(
# assert_frame_equal(
# a.drop(["line_idx"], axis=1),
# g.graph["pdb_df"].drop(["line_idx", "node_id", "residue_id"], axis=1),
#)
# )
assert_frame_equal(
a, g.graph["pdb_df"].drop(["node_id", "residue_id"], axis=1)
)
Expand Down

0 comments on commit a8da5df

Please sign in to comment.