Skip to content
Snippets Groups Projects
Commit d8814281 authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: make sure we get the hive_meta values from the naked table cache properly

parent 78e8060e
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,8 @@ sub get_value_by_key {
if( my $collection = Bio::EnsEMBL::Hive::MetaParameters->collection() ) {
return $collection->find_one_by( 'meta_key', $meta_key );
my $hash = $collection->find_one_by( 'meta_key', $meta_key );
return $hash && $hash->{'meta_value'};
} else { # TODO: to be removed when beekeeper.pl/runWorker.pl become collection-aware
......
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