Commit 2a740284 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Fix syntax errors.

parent a2456cf1
...@@ -2373,30 +2373,30 @@ sub _compare_xrefs { ...@@ -2373,30 +2373,30 @@ sub _compare_xrefs {
sub load { sub load {
my ( $self, $load_xrefs ) = @_; my ( $self, $load_xrefs ) = @_;
if ( !defined($load_xref) ) { $load_xrefs = 1 } if ( !defined($load_xrefs) ) { $load_xrefs = 1 }
my $translation = $self->translation(); my $translation = $self->translation();
if ( defined($translation) ) { if ( defined($translation) ) {
$translation->load($load_xrefs); $translation->load($load_xrefs);
foreach my $alt_translation ( foreach my $alt_translation (
@{ $transcript->get_all_alternative_translations() } ) @{ $self->get_all_alternative_translations() } )
{ {
$alt_translation->load($load_xrefs); $alt_translation->load($load_xrefs);
} }
} }
foreach my $exon ( @{ $transcript->get_all_Exons() } ) { foreach my $exon ( @{ $self->get_all_Exons() } ) {
$exon->load(); $exon->load();
} }
$transcript->stable_id(); $self->stable_id();
$transcript->analysis(); $self->analysis();
$transcript->get_all_Attributes(); $self->get_all_Attributes();
$transcript->get_all_supporting_features(); $self->get_all_supporting_features();
if ($load_xrefs) { if ($load_xrefs) {
$transcript->get_all_DBEntries(); $self->get_all_DBEntries();
} }
} ## end sub load } ## end sub load
......
...@@ -1039,16 +1039,16 @@ sub modify_translation { ...@@ -1039,16 +1039,16 @@ sub modify_translation {
sub load { sub load {
my ( $self, $load_xrefs ) = @_; my ( $self, $load_xrefs ) = @_;
if ( !defined($load_xref) ) { $load_xrefs = 1 } if ( !defined($load_xrefs) ) { $load_xrefs = 1 }
$translation->seq(); $self->seq();
$translation->stable_id(); $self->stable_id();
$translation->get_all_Attributes(); $self->get_all_Attributes();
$translation->get_all_ProteinFeatures(); $self->get_all_ProteinFeatures();
if ($load_xrefs) { if ($load_xrefs) {
$translation->get_all_DBEntries(); $self->get_all_DBEntries();
} }
} }
......
Markdown is supported
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