Skip to content

Commit

Permalink
fix logo script
Browse files Browse the repository at this point in the history
  • Loading branch information
trichter committed Oct 23, 2024
1 parent 73a9153 commit 5119e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/create_sugar_logo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def create_logo(fname, seed=None, **kw):
gc = gcode()
first_codon = random.choice(sorted(gc.ttinv[name[0]]))
last_codon = random.choice(sorted(gc.ttinv[name[-1]]))
seq = BioSeq(first_codon + name[1:-1] + last_codon).replace('T', 'U')
seq = BioSeq(first_codon + name[1:-1] + last_codon).str.replace('T', 'U')
i, j = seq.match('stop').span()
aa = seq.copy().translate(complete=True)

Expand Down

0 comments on commit 5119e4a

Please sign in to comment.