Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -269,10 +269,10 @@ def predict_peptide_from_file(base_model_path, finetuned_model_path, file_obj, m
|
|
| 269 |
results = []
|
| 270 |
|
| 271 |
for i, row in input.iterrows():
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
protein_seq = row['P_Sequence']
|
| 275 |
-
peptide_seq = row['p_Sequence']
|
| 276 |
peptide_length = min([len(peptide_seq), max_peptide_length]) # use the same length of ground truth peptide length for prediction limited to max_peptide_length
|
| 277 |
|
| 278 |
#get metrics for ground truth peptide
|
|
|
|
| 269 |
results = []
|
| 270 |
|
| 271 |
for i, row in input.iterrows():
|
| 272 |
+
protein_seq = row['Receptor Sequence']
|
| 273 |
+
peptide_seq = row['Peptide Sequence']
|
| 274 |
+
#protein_seq = row['P_Sequence']
|
| 275 |
+
#peptide_seq = row['p_Sequence']
|
| 276 |
peptide_length = min([len(peptide_seq), max_peptide_length]) # use the same length of ground truth peptide length for prediction limited to max_peptide_length
|
| 277 |
|
| 278 |
#get metrics for ground truth peptide
|