-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_evaluator.py
More file actions
46 lines (40 loc) · 1.12 KB
/
test_evaluator.py
File metadata and controls
46 lines (40 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from molgenbench.pipeline.evaluator import Evaluator
from molgenbench.pipeline.aggregator import Aggregator
if __name__ == "__main__":
evaluator = Evaluator(
[
"Validity",
"QED",
"SA",
"Uniqueness",
"Diversity",
"PoseBuster",
"StrainEnergy",
"RMSD",
"ChemFilter",
"InteractionScore"
"ClashScore"
"MotifDist",
"HitRediscover",
]
)
evaluator.run(
root_dir="./TestSamples",
model_name="PocketFlow_generated_molecules",
round="Round1",
mode="De_novo_Results"
)
# evaluator.run(
# root_dir="./TestSamples",
# model_name="DeleteHit2Lead(CrossDock)_Hit_to_Lead",
# round="Round1",
# mode="Hit_to_Lead_Results"
# )
aggregator = Aggregator()
aggregator.run(
root_dir="./TestSamples",
round="Round1",
mode="De_novo_Results",
model_name="PocketFlow_generated_molecules",
output_path="./pocketflow_report.yaml"
)