Skip to content
Snippets Groups Projects
Commit 5f711151 authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Removed conditional declarations to satisfy perlcritic

parent 9cb67196
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,8 @@ sub print_feature {
$transcript_biotype = $vegadb ? $transcript->status . '_' . $transcript->biotype : $transcript->biotype;
}
my @translateable_exons =
my @translateable_exons;
@translateable_exons =
@{$transcript->get_all_translateable_Exons}
if $transcript->translation;
......@@ -409,7 +410,8 @@ sub _check_start_and_stop {
my ($attrib) = @{ $trans->slice()->get_all_Attributes('codon_table') };
my $codon_table_id = $attrib->value()
my $codon_table_id;
$codon_table_id = $attrib->value()
if defined $attrib;
$codon_table_id ||= 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