Skip to content

Commit

Permalink
Merge pull request #788 from haddocking/covalSER
Browse files Browse the repository at this point in the history
Add topo/params for covalent docking Serine (SEC) - issue #757
  • Loading branch information
amjjbonvin committed Jan 18, 2024
2 parents 2c006e0 + 2ed7157 commit 4dad36f
Show file tree
Hide file tree
Showing 14 changed files with 490 additions and 53 deletions.
15 changes: 4 additions & 11 deletions integration_tests/test_alascan.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,11 @@ def test_alascan_default(alascan_module, mocker):
# check single complex csv
df = pd.read_csv(expected_csv1, sep="\t", comment="#")
assert df.shape == (10, 16), f"{expected_csv1} has wrong shape"
# ARG 17 B should have a delta_score around 22
assert np.isclose(
df.loc[df["ori_resname"] == "ARG"].iloc[0,:]["delta_score"],
22.0,
atol=8)
# ARG 17 B should have a positive delta_score
assert df.loc[df["ori_resname"] == "ARG"].iloc[0,:]["delta_score"] > 0.0

# check clt csv
df_clt = pd.read_csv(expected_clt_csv, sep="\t", comment="#")
assert df_clt.shape == (18, 11), f"{expected_clt_csv} has wrong shape"
# average delta score of A-38-ASP should be around 8.2
assert np.isclose(
df_clt.loc[df_clt["full_resname"] == "A-38-ASP"]["delta_score"],
8.2,
atol=2)

# average delta score of A-38-ASP should be positive
assert df_clt.loc[df_clt["full_resname"] == "A-38-ASP"].iloc[0,:]["delta_score"] > 0.0
Loading

0 comments on commit 4dad36f

Please sign in to comment.