Skip to content

Registry: add support for versioned ensembl_metadata DBs [master]

Marek Szuba requested to merge feature/ENSCORESW-3119_master into master

Created by: mkszuba


Extend the Registry so that it can detect Ensembl metadata databases whose names contain the release number, with backward compatibility with unversioned databases but preference for versioned ones if both forms are present.

Use case

Since release 96 Ensembl metadata databases have been named ensembl_metadata_XY, where XY is the release number. Unfortunately the Registry has not been updated accordingly so it keeps looking for ensembl_metadata. See ENSCORESW-3119 for additional information.


Registry will be able to correctly instantiate MetadataDBAdaptors again.

Possible Drawbacks

A slight increase in computational overhead during Registry initialisation, primarily due to the fact we retain backward compatibility with the old naming convention.


Have you added/modified unit tests to test the changes?


If so, do the tests pass/fail?


Have you run the entire test suite and no regression was detected?

Yes, no regression detected.

Merge request reports