Skip to content

Commit

Permalink
Merge pull request #964 from haddocking/963-test-artifact-in-caprieval
Browse files Browse the repository at this point in the history
Update `caprieval` integration tests with new score values
  • Loading branch information
rvhonorato authored Aug 5, 2024
2 parents c9de411 + 3a2e200 commit 01eb9ae
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions integration_tests/test_caprieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ def model_list():
file_name="protprot_complex_1.pdb",
path=".",
unw_energies={"energy_term": 0.0},
score=0.0,
),
PDBFile(
file_name="protprot_complex_2.pdb",
path=".",
unw_energies={"energy_term": 0.0},
score=100.0,
),
]

Expand All @@ -48,8 +50,8 @@ def expected_clt_data() -> list[dict[str, Union[int, str, float]]]:
"cluster_id": "-",
"n": 2,
"under_eval": "yes",
"score": float("nan"),
"score_std": float("nan"),
"score": 50.0,
"score_std": 50.0,
"irmsd": 4.163,
"irmsd_std": 4.163,
"fnat": 0.525,
Expand Down Expand Up @@ -84,7 +86,7 @@ def expected_ss_data() -> list[dict[str, Union[int, str, float]]]:
"model": "",
"md5": "-",
"caprieval_rank": 1,
"score": float("nan"),
"score": 0.0,
"irmsd": 0.000,
"fnat": 1.000,
"lrmsd": 0.000,
Expand All @@ -99,7 +101,7 @@ def expected_ss_data() -> list[dict[str, Union[int, str, float]]]:
"model": "",
"md5": "-",
"caprieval_rank": 2,
"score": float("nan"),
"score": 100.0,
"irmsd": 8.327,
"fnat": 0.050,
"lrmsd": 20.937,
Expand Down Expand Up @@ -131,11 +133,13 @@ def retrieve_models(self, individualize: bool = True):
file_name="protprot_complex_1.pdb",
path=".",
unw_energies={"energy_term": 0.0},
score=0.0,
),
PDBFile(
file_name="protprot_complex_2.pdb",
path=".",
unw_energies={"energy_term": 0.0},
score=100.0,
),
]

Expand Down

0 comments on commit 01eb9ae

Please sign in to comment.