Skip to content

Commit 4dad36f

Browse files
authored
Merge pull request #788 from haddocking/covalSER
Add topo/params for covalent docking Serine (SEC) - issue #757
2 parents 2c006e0 + 2ed7157 commit 4dad36f

File tree

14 files changed

+490
-53
lines changed

14 files changed

+490
-53
lines changed

integration_tests/test_alascan.py

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,11 @@ def test_alascan_default(alascan_module, mocker):
5656
# check single complex csv
5757
df = pd.read_csv(expected_csv1, sep="\t", comment="#")
5858
assert df.shape == (10, 16), f"{expected_csv1} has wrong shape"
59-
# ARG 17 B should have a delta_score around 22
60-
assert np.isclose(
61-
df.loc[df["ori_resname"] == "ARG"].iloc[0,:]["delta_score"],
62-
22.0,
63-
atol=8)
59+
# ARG 17 B should have a positive delta_score
60+
assert df.loc[df["ori_resname"] == "ARG"].iloc[0,:]["delta_score"] > 0.0
6461

6562
# check clt csv
6663
df_clt = pd.read_csv(expected_clt_csv, sep="\t", comment="#")
6764
assert df_clt.shape == (18, 11), f"{expected_clt_csv} has wrong shape"
68-
# average delta score of A-38-ASP should be around 8.2
69-
assert np.isclose(
70-
df_clt.loc[df_clt["full_resname"] == "A-38-ASP"]["delta_score"],
71-
8.2,
72-
atol=2)
73-
65+
# average delta score of A-38-ASP should be positive
66+
assert df_clt.loc[df_clt["full_resname"] == "A-38-ASP"].iloc[0,:]["delta_score"] > 0.0

0 commit comments

Comments
 (0)