Skip to content
Snippets Groups Projects
Commit e3fbf042 authored by Fiona Cunningham's avatar Fiona Cunningham
Browse files

changed display_id to display_name as this call was deprecated

parent b2f60c3f
No related branches found
No related tags found
No related merge requests found
......@@ -108,8 +108,8 @@ sub fetch_all_by_Slice {
if(!$link) {
$link = Bio::EnsEMBL::DBEntry->new_fast
({'dbname' => $link_db,
'primary_id' => $link_id,
'display_id' => $link_id});
'primary_id' => $link_id,
'display_name' => $link_id});
$link_cache{"$link_db:$link_id"} = $link;
}
......
......@@ -147,10 +147,10 @@ sub source_version {
}
=head2 display_id
=head2 display_name
Arg [1] : none
Example : print $snp->id();
Example : print $snp->display_name();
Description: This method returns a string that is considered to be
the 'display' identifier. For snps this is the
returns the same thing as the id method.
......@@ -160,7 +160,7 @@ sub source_version {
=cut
sub display_id {
sub display_name {
my $self = shift;
return $self->id();
}
......
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