Commit 3f5300f8 authored by Eugene Kulesha's avatar Eugene Kulesha
Browse files

fixed add_new_track that assumed that get_all_DBAdaptors returns an array

parent eb565805
......@@ -1059,7 +1059,7 @@ sub add_new_tracks{
my %pars;
# print STDERR "Species $species_reg check for default tracks\n";
foreach my $dba ($reg->get_all_DBAdaptors()){
foreach my $dba (@{$reg->get_all_DBAdaptors()}){
$pars{'available'} = "species ".$reg->get_alias($dba->species());
$pars{'db_alias'} = $dba->group();
Markdown is supported
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