diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm index faca66777954d2a9c8970300c3eab078ef42e293..5807c627fbe69a3da336ba3ce9ee269e641f1e23 100644 --- a/modules/Bio/EnsEMBL/Registry.pm +++ b/modules/Bio/EnsEMBL/Registry.pm @@ -854,7 +854,7 @@ sub load_registry_from_db{ my @dbnames = map {$_->[0] } @$res; my %temp; - my $software_version = Bio::EnsEMBL::Utils::ConfigRegistry->software_version; + my $software_version = $self->software_version; print "Will only load $software_version databases\n" if ($verbose); for my $db (@dbnames){ if($db =~ /^([a-z]+_[a-z]+_[a-z]+)_(\d+)_(\d+[a-z]*)/){