Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mark0428 authored and mark0428 committed Nov 30, 2021
1 parent eebe687 commit 852606f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AMPlify.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ def main():
seq_id.append(str(seq_record.id))
peptide.append(str(seq_record.seq))

# look for indices for valid sequences
# look for indices of valid sequences
valid_ix = []
for i in range(len(peptide)):
if len(peptide[i]) <= 200 and len(peptide[i]) >= 2 and set(peptide[i])-set(aa) == set():
Expand Down Expand Up @@ -264,7 +264,7 @@ def main():
'Sequence': peptide,
'Score': y_score,
'Prediction': y_class,
'Attention': [a for a in attention]})
'Attention': attention})
else:
out = pd.DataFrame({'Sequence_ID':seq_id,
'Sequence': peptide,
Expand Down

0 comments on commit 852606f

Please sign in to comment.