Spaces:
Running
Running
Update inference.py
Browse files- inference.py +1 -0
inference.py
CHANGED
@@ -153,6 +153,7 @@ class Inference(object):
|
|
153 |
drug_mols = [Chem.MolFromSmiles(smi) for smi in drug_smiles]
|
154 |
drug_vecs = [AllChem.GetMorganFingerprintAsBitVect(x, 2, nBits=1024) for x in drug_mols if x is not None]
|
155 |
|
|
|
156 |
|
157 |
# Make directories if not exist.
|
158 |
if not os.path.exists("experiments/inference/{}".format(self.submodel)):
|
|
|
153 |
drug_mols = [Chem.MolFromSmiles(smi) for smi in drug_smiles]
|
154 |
drug_vecs = [AllChem.GetMorganFingerprintAsBitVect(x, 2, nBits=1024) for x in drug_mols if x is not None]
|
155 |
|
156 |
+
print(chembl_test[0])
|
157 |
|
158 |
# Make directories if not exist.
|
159 |
if not os.path.exists("experiments/inference/{}".format(self.submodel)):
|