From 7c42a86e6c632a5933e5496731c16416f40101d4 Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Thu, 30 May 2013 09:33:41 +0000 Subject: [PATCH] Transcripts have no source. Get from the gene --- modules/Bio/EnsEMBL/Transcript.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Bio/EnsEMBL/Transcript.pm b/modules/Bio/EnsEMBL/Transcript.pm index fb87877b40..93c5c18e7d 100755 --- a/modules/Bio/EnsEMBL/Transcript.pm +++ b/modules/Bio/EnsEMBL/Transcript.pm @@ -2849,7 +2849,7 @@ sub summary_as_hash { $summary_ref->{'logic_name'} = $self->analysis->logic_name(); my $parent_gene = $self->get_Gene(); $summary_ref->{'Parent'} = $parent_gene->stable_id; - $summary_ref->{'source'} = $self->source() || $parent_gene->source(); + $summary_ref->{'source'} = $parent_gene->source(); return $summary_ref; } -- GitLab