Skip to content
Snippets Groups Projects
Commit 748d5de8 authored by Graham McVicker's avatar Graham McVicker
Browse files

list -> listref mistake

parent 5e891d54
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
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