Spaces:
Sleeping
Sleeping
ThorbenFroehlking
commited on
Commit
·
e5b8e7f
1
Parent(s):
ff689ae
Update
Browse files- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -102,7 +102,7 @@ def process_pdb(pdb_id, segment):
|
|
| 102 |
with open(prediction_file, "w") as f:
|
| 103 |
f.write(result_str)
|
| 104 |
|
| 105 |
-
return result_str, molecule(pdb_path,
|
| 106 |
|
| 107 |
def molecule(input_pdb, scores=None, segment='A'):
|
| 108 |
mol = read_mol(input_pdb) # Read PDB file content
|
|
|
|
| 102 |
with open(prediction_file, "w") as f:
|
| 103 |
f.write(result_str)
|
| 104 |
|
| 105 |
+
return result_str, molecule(pdb_path, normalized_scores, segment), prediction_file
|
| 106 |
|
| 107 |
def molecule(input_pdb, scores=None, segment='A'):
|
| 108 |
mol = read_mol(input_pdb) # Read PDB file content
|
app.py
CHANGED
|
@@ -102,7 +102,7 @@ def process_pdb(pdb_id, segment):
|
|
| 102 |
with open(prediction_file, "w") as f:
|
| 103 |
f.write(result_str)
|
| 104 |
|
| 105 |
-
return result_str, molecule(pdb_path,
|
| 106 |
|
| 107 |
def molecule(input_pdb, scores=None, segment='A'):
|
| 108 |
mol = read_mol(input_pdb) # Read PDB file content
|
|
|
|
| 102 |
with open(prediction_file, "w") as f:
|
| 103 |
f.write(result_str)
|
| 104 |
|
| 105 |
+
return result_str, molecule(pdb_path, normalized_scores, segment), prediction_file
|
| 106 |
|
| 107 |
def molecule(input_pdb, scores=None, segment='A'):
|
| 108 |
mol = read_mol(input_pdb) # Read PDB file content
|