Spaces:
Running
Running
Commit
·
231a101
1
Parent(s):
52e74e1
test
Browse files
app.py
CHANGED
@@ -118,9 +118,9 @@ def mbp_scoring(ligand_path, protein_path):
|
|
118 |
def test(ligand, protein):
|
119 |
try:
|
120 |
IC50, K = mbp_scoring(ligand.name, protein.name)
|
121 |
-
print(f'ligand file name: {os.path.basename(ligand)},'
|
122 |
-
|
123 |
-
|
124 |
return '{:.2f}'.format(IC50), '{:.2f}'.format(K)
|
125 |
except Exception as e:
|
126 |
return e, e
|
|
|
118 |
def test(ligand, protein):
|
119 |
try:
|
120 |
IC50, K = mbp_scoring(ligand.name, protein.name)
|
121 |
+
# print(f'ligand file name: {os.path.basename(ligand)},'
|
122 |
+
# f' protein file name: {os.path.basename(protein)},'
|
123 |
+
# f' IC50: {IC50}, K: {K}')
|
124 |
return '{:.2f}'.format(IC50), '{:.2f}'.format(K)
|
125 |
except Exception as e:
|
126 |
return e, e
|