Commit b3616e19 authored by Andreas Kusalananda Kähäri's avatar Andreas Kusalananda Kähäri
Browse files

Allow the ontology database to be called ensemblgenomes_ontology_NN.

parent 6527bce3
......@@ -1524,7 +1524,7 @@ sub load_registry_from_db {
if ( $2 eq $software_version ) {
$temp{$1} = $2;
}
} elsif ( $db =~ /^(ensembl_ontology)_(\d+)/x ) {
} elsif ( $db =~ /^(ensembl(?:genomes)_ontology)_(\d+)/x ) {
if ( $2 eq $software_version ) {
$ontology_version = $2;
}
......
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