Commit ecfdc8bc authored by Kieron Taylor's avatar Kieron Taylor 😠
Browse files

Removed summary_as_hash methods for sake of a clean Release 64

parent 78bdc120
......@@ -1473,28 +1473,6 @@ sub is_reference{
return $self->{'is_ref'};
}
=head2 summary_as_hash
Example : $gene_summary = $gene->summary_as_hash();
Description : Retrieves a textual summary of this Gene object.
Returns : hashref of descriptive strings
=cut
sub summary_as_hash {
my $self = shift;
my %summary;
$summary{'stable_id'} = $self->stable_id;
$summary{'description'} = $self->description;
$summary{'biotype'} = $self->biotype;
$summary{'strand'} = $self->strand;
return \%summary;
}
###########################
# DEPRECATED METHODS FOLLOW
###########################
......
......@@ -2650,28 +2650,6 @@ sub load {
} ## end sub load
=head2 summary_as_hash
Example : $transcript_summary = $transcript->summary_as_hash();
Description : Retrieves a textual summary of this Transcript object.
Returns : hashref of descriptive strings
=cut
sub summary_as_hash {
my $self = shift;
my %summary;
$summary{'stable_id'} = $self->stable_id;
$summary{'description'} = $self->description;
$summary{'biotype'} = $self->biotype;
$summary{'start'} = $self->start;
$summary{'end'} = $self->end;
$summary{'strand'} = $self->strand;
$summary{'display_id'} = $self->display_id;
return \%summary;
}
###########################
# DEPRECATED METHODS FOLLOW
###########################
......
......@@ -1201,22 +1201,5 @@ sub get_all_DAS_Features{
return $self->SUPER::get_all_DAS_Features($slice);
}
=head2 summary_as_hash
Example : $gene_summary = $gene->summary_as_hash();
Description : Retrieves a textual summary of this Gene object.
Returns : hashref of descriptive strings
=cut
sub summary_as_hash {
my $self = shift;
my %summary;
$summary{'stable_id'} = $self->stable_id;
$summary{'display_id'} = $self->display_id;
$summary{'genomic_start'} = $self->genomic_start;
$summary{'genomic_end'} = $self->genomic_end;
return \%summary;
}
1;
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