LDolanLDolan commited on
Commit
dedb9bb
·
1 Parent(s): 2c95ce1

Fix syntax error in codon_table.py

Browse files
Files changed (1) hide show
  1. codon_table.py +1 -1
codon_table.py CHANGED
@@ -197,7 +197,7 @@ def translate_dna_to_text(sequence, reading_frame=0, detailed=True):
197
  start_codons = sum(1 for codon in codons if len(codon) == 3 and CODON_TABLE.get(codon, {}).get('type') == 'start')
198
  stop_codons = sum(1 for codon in codons if len(codon) == 3 and CODON_TABLE.get(codon, {}).get('type') == 'stop')
199
 
200
- output.append(f"📈 **Summary:** {start_codons} start codon(s), {stop_codons}
201
  return "\n".join(output)
202
 
203
  def get_example_sequences():
 
197
  start_codons = sum(1 for codon in codons if len(codon) == 3 and CODON_TABLE.get(codon, {}).get('type') == 'start')
198
  stop_codons = sum(1 for codon in codons if len(codon) == 3 and CODON_TABLE.get(codon, {}).get('type') == 'stop')
199
 
200
+ output.append(f"📈 **Summary:** {start_codons} start codon(s), {stop_codons} stop codon(s)")
201
  return "\n".join(output)
202
 
203
  def get_example_sequences():