Skip to content
Snippets Groups Projects
Commit bc765252 authored by Kieron Taylor's avatar Kieron Taylor :angry:
Browse files

Fixed an omission in taking hash keys on a reference.

parent 35396a21
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,7 @@ sub get_GOA_forbidden_terms {
my @translations = @{ $translation_adaptor->fetch_all_by_external_name($bad_thing{'proteinAc'}) };
foreach my $translation ( @translations) {
if (exists($terms{$translation->stable_id})) {
@many_bad_things{keys $terms{$translation->stable_id}} = values %{$terms{$translation->stable_id}}; # merge existing hash with new one
@many_bad_things{keys %{$terms{$translation->stable_id}} } = values %{$terms{$translation->stable_id}}; # merge existing hash with new one
}
$terms{$translation->stable_id} = \%many_bad_things;
}
......
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