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

fixed auto-vivification bug in get_all_ExternalFeatures (spotted by pm2)

parent c14781db
No related branches found
No related tags found
No related merge requests found
......@@ -1627,7 +1627,9 @@ sub get_all_ExternalFeatures {
if($track_name) {
#use a specific adaptor
push @xf_adaptors, $xfa_hash->{$track_name};
if(exists $xfa_hash->{$track_name}) {
push @xf_adaptors, $xfa_hash->{$track_name};
}
} else {
#use all of the adaptors
push @xf_adaptors, values %$xfa_hash;
......
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