From 748d5de88f5ecd47622c7a6550b7f00ee7f60703 Mon Sep 17 00:00:00 2001 From: Graham McVicker <mcvicker@sanger.ac.uk> Date: Wed, 30 Oct 2002 16:47:43 +0000 Subject: [PATCH] list -> listref mistake --- modules/Bio/EnsEMBL/DBSQL/MetaContainer.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/Bio/EnsEMBL/DBSQL/MetaContainer.pm b/modules/Bio/EnsEMBL/DBSQL/MetaContainer.pm index ddddddffec..3fbae59e05 100644 --- a/modules/Bio/EnsEMBL/DBSQL/MetaContainer.pm +++ b/modules/Bio/EnsEMBL/DBSQL/MetaContainer.pm @@ -130,14 +130,14 @@ sub get_Species { return undef; } - my @classification = $self->list_value_by_key( 'species.classification' ); - if( ! @classification ) { + my $classification = $self->list_value_by_key( 'species.classification' ); + if( ! @$classification ) { return undef; } my $species = new Bio::Species; $species->common_name( $common_name ); - $species->classification( @classification ); + $species->classification( @$classification ); return $species; } -- GitLab