wangjin2000 commited on
Commit
e296b93
·
verified ·
1 Parent(s): 7362684

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- #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
 
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