kipfriend commited on
Commit
d54db96
1 Parent(s): de37bdf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def mutate(dna, motif):
27
  #reverse_motif.index(reverse_comp)+len()]
28
  new_dna = dna[:dna.index(motif)] + dna[dna.find(reverse_comp(motif), dna.index(motif)) + len(reverse_comp(motif)):]
29
  #correct code ^^^
30
- print(new_dna)
31
  else:
32
  print('motif not found in sequence: ',end='')
33
  return dna
27
  #reverse_motif.index(reverse_comp)+len()]
28
  new_dna = dna[:dna.index(motif)] + dna[dna.find(reverse_comp(motif), dna.index(motif)) + len(reverse_comp(motif)):]
29
  #correct code ^^^
30
+ return new_dna
31
  else:
32
  print('motif not found in sequence: ',end='')
33
  return dna