Skip to content

Commit f08d533

Browse files
authored
Merge pull request #59 from qurat-ul-ain95/fix/sample_ranking_formula
Fix sample ranking formula
2 parents 26a3538 + 0af3d4a commit f08d533

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

openfold3/core/metrics/sample_ranking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def full_complex_sample_ranking_metric(
2828
ptm_weight: float = 0.2,
2929
iptm_weight: float = 0.8,
3030
disorder_weight: float = 0.5,
31-
has_clash_weight: float = -100.0,
31+
has_clash_weight: float = 100.0,
3232
disorder_threshold: float = 0.581,
3333
**ptm_bin_kwargs,
3434
) -> torch.Tensor:

openfold3/projects/of3_all_atom/config/model_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@
524524
"ptm_weight": 0.2,
525525
"iptm_weight": 0.8,
526526
"disorder_weight": 0.5,
527-
"has_clash_weight": -100.0,
527+
"has_clash_weight": 100.0,
528528
"disorder_threshold": 0.581,
529529
},
530530
"chain_pair_iptm": {"enabled": True},

0 commit comments

Comments
 (0)