Skip to content
Snippets Groups Projects
Commit 534916d1 authored by Graham McVicker's avatar Graham McVicker
Browse files

bug fix to codon table setting

parent 971159e7
No related branches found
No related tags found
No related merge requests found
......@@ -1207,7 +1207,8 @@ sub translate {
my $codon_table;
if($self->slice()) {
($codon_table) = @{$self->slice()->get_all_Attributes('codon_table')};
my ($attrib) = @{$self->slice()->get_all_Attributes('codon_table')};
$codon_table = $attrib->value() if($attrib);
}
$codon_table ||= 1; # default vertebrate codon table
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment