Spaces:
Sleeping
Sleeping
Saicharan
commited on
Commit
·
0b2b170
1
Parent(s):
d8a04dc
SA score added
Browse files- molgenevalmetric.py +1 -1
molgenevalmetric.py
CHANGED
@@ -243,7 +243,7 @@ def average_sascore(gen, n_jobs=1):
|
|
243 |
- float: Average SA score, or None if no scores could be computed.
|
244 |
"""
|
245 |
|
246 |
-
scores = mapper(n_jobs)(calculate_sa_score,
|
247 |
|
248 |
# Filter out None values which indicate failed molecule creation
|
249 |
valid_scores = [score for score in scores if score is not None]
|
|
|
243 |
- float: Average SA score, or None if no scores could be computed.
|
244 |
"""
|
245 |
|
246 |
+
scores = mapper(n_jobs)(calculate_sa_score, gen)
|
247 |
|
248 |
# Filter out None values which indicate failed molecule creation
|
249 |
valid_scores = [score for score in scores if score is not None]
|