We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c304092 commit 606ebdaCopy full SHA for 606ebda
chebifier/prediction_models/chemlog_predictor.py
@@ -55,6 +55,7 @@ def __init__(self, model_name: str, **kwargs):
55
self.chebi_graph = kwargs.get("chebi_graph", None)
56
self.classifier = self.CHEMLOG_CLASSIFIER()
57
58
+ @modelwise_smiles_lru_cache.batch_decorator
59
def predict_smiles_list(self, smiles_list: list[str]) -> list:
60
mol_list = [_smiles_to_mol(smiles) for smiles in smiles_list]
61
res = self.classifier.classify(mol_list)
0 commit comments