AlienChen commited on
Commit
9ff6d7f
·
verified ·
1 Parent(s): af66ec2

Update models/peptiverse_classifiers.py

Browse files
Files changed (1) hide show
  1. models/peptiverse_classifiers.py +1 -1
models/peptiverse_classifiers.py CHANGED
@@ -28,7 +28,7 @@ class HemolysisWT:
28
  scores = []
29
  for seq in input_seqs:
30
  score = pred.predict_property("hemolysis", col="wt", input_str=seq)['score']
31
- scores.append(score)
32
 
33
  return torch.tensor(scores)
34
 
 
28
  scores = []
29
  for seq in input_seqs:
30
  score = pred.predict_property("hemolysis", col="wt", input_str=seq)['score']
31
+ scores.append(1 - score)
32
 
33
  return torch.tensor(scores)
34