Skip to content

Commit 5735041

Browse files
committed
add 3 5 threshold
1 parent d440483 commit 5735041

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

rfdiffusion/potentials/potentials.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,8 @@ class dmasif_interactions(Potential):
472472
Differentiable way to optinize binding and non-binding surface
473473
'''
474474

475-
def __init__(self, binderlen, int_weight=1, non_int_weight=1, threshold=3, seq_model_type='protein_mpnn'):
475+
def __init__(self, binderlen, int_weight=1, non_int_weight=1,
476+
pos_threshold=3, neg_threshold=5, seq_model_type='protein_mpnn'):
476477

477478
super().__init__()
478479
self.predicted=True
@@ -486,7 +487,8 @@ def __init__(self, binderlen, int_weight=1, non_int_weight=1, threshold=3, seq_m
486487
self.potential=RFdiff_potential_from_bb(binderlen=binderlen,
487488
int_weight=int_weight,
488489
non_int_weight=non_int_weight,
489-
threshold=threshold,
490+
pos_threshold=pos_threshold,
491+
neg_threshold=neg_threshold,
490492
seq_model_type=seq_model_type)
491493

492494
self.allatom=ComputeAllAtomCoords()

0 commit comments

Comments
 (0)