Skip to content

Commit 852606f

Browse files
mark0428mark0428
authored andcommitted
fix typo
1 parent eebe687 commit 852606f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/AMPlify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def main():
191191
seq_id.append(str(seq_record.id))
192192
peptide.append(str(seq_record.seq))
193193

194-
# look for indices for valid sequences
194+
# look for indices of valid sequences
195195
valid_ix = []
196196
for i in range(len(peptide)):
197197
if len(peptide[i]) <= 200 and len(peptide[i]) >= 2 and set(peptide[i])-set(aa) == set():
@@ -264,7 +264,7 @@ def main():
264264
'Sequence': peptide,
265265
'Score': y_score,
266266
'Prediction': y_class,
267-
'Attention': [a for a in attention]})
267+
'Attention': attention})
268268
else:
269269
out = pd.DataFrame({'Sequence_ID':seq_id,
270270
'Sequence': peptide,

0 commit comments

Comments
 (0)