simonduerr commited on
Commit
5ceafaf
1 Parent(s): 9bd7549

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -122,7 +122,9 @@ def update_protGPT2(inp, length):
122
  print(gen_seqs)
123
  sequencestxt = ""
124
  for i, seq in enumerate(gen_seqs):
125
- sequencestxt +=f"seq{i}>\n{seq}\n"
 
 
126
  return sequencestxt
127
 
128
 
 
122
  print(gen_seqs)
123
  sequencestxt = ""
124
  for i, seq in enumerate(gen_seqs):
125
+ s = seq.replace("\n","")
126
+ s = "\n".join([s[i:i+70] for i in range(0, len(test), 70)])
127
+ sequencestxt +=f">seq{i}\n{seq}\n"
128
  return sequencestxt
129
 
130