Skip to content

Commit

Permalink
clarifying
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Nov 14, 2018
1 parent 87578e9 commit 99c97bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wc_kb/prokaryote_schema.py
Expand Up @@ -125,7 +125,8 @@ def get_seq(self, cds=True):
Returns:
:obj:`Bio.Seq.Seq`: sequence
"""
seq = self.gene.get_seq().translate(table=self.cell.knowledge_base.translation_table, cds=cds)
table = self.cell.knowledge_base.translation_table
seq = self.gene.get_seq().translate(table=table, cds=cds)
return seq

def get_empirical_formula(self, cds=True):
Expand Down

0 comments on commit 99c97bc

Please sign in to comment.