Update moppit.py
Browse files
moppit.py
CHANGED
|
@@ -141,6 +141,10 @@ for i in range(args.n_batches):
|
|
| 141 |
|
| 142 |
if args.objectives[i] == 'Affinity':
|
| 143 |
candidate_scores = 10 * candidate_scores
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
if isinstance(candidate_scores, tuple):
|
| 146 |
for score in candidate_scores:
|
|
|
|
| 141 |
|
| 142 |
if args.objectives[i] == 'Affinity':
|
| 143 |
candidate_scores = 10 * candidate_scores
|
| 144 |
+
elif args.objectives[i] == 'Hemolysis':
|
| 145 |
+
candidate_scores = 1 - candidate_scores
|
| 146 |
+
else:
|
| 147 |
+
candidate_scores = candidate_scores
|
| 148 |
|
| 149 |
if isinstance(candidate_scores, tuple):
|
| 150 |
for score in candidate_scores:
|