Skip to content

Commit

Permalink
Change variable name in a list comprehension to be different from an …
Browse files Browse the repository at this point in the history
…outer for loop
  • Loading branch information
YinHoon committed Feb 20, 2020
1 parent d127d07 commit 598a2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wc_model_gen/eukaryote/translation_translocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -715,8 +715,8 @@ def gen_rate_laws(self):
table=codon_id, cds=cds))
if translated_aa in amino_acid_id_conversion:
translated_aa_met = amino_acid_id_conversion[translated_aa]
matched_trnas = [i for i in trna_functions[translation_compartment.id] \
if i['aa']==translated_aa_met]
matched_trnas = [j for j in trna_functions[translation_compartment.id] \
if j['aa']==translated_aa_met]
else:
matched_trnas = []

Expand Down

0 comments on commit 598a2be

Please sign in to comment.