Skip to content

ENSCORESW-1910: stable id mapping incompatible with multi-species db

Marek Szuba requested to merge github/fork/jimmyebi/master into master

Created by: jimmyebi

Modifications made on files:

-patch_89_90_c.sql + table.sql: SQL statements to change the schema by adding a new column: species_id on the table mapping_session.

-ArchiveStableIDAdaptor.pm: slight modification on the SQL query inside _fetch_archive_id().

-ArchiveStableId.pm: added 2 new attributes, meta_value: e.g. "house mouse" and species_id: e.g. 2, with their respective getter/setter functions.

-archiveStableId.t: new test for fetch_by_stable_id().

-mapping_session.txt + meta.txt + stable_id_event.txt: more mock data for testing.

Merge request reports