[ensembl-dev] DB version and API version through EnsEMBL API code

mag mr6 at ebi.ac.uk
Wed Mar 12 09:25:06 GMT 2014


Hi Alexia,

The API version can be obtained using the method software_version().

The database version is stored in the database meta table.
It can be obtained with the API using the meta container.

my $meta_container = $registry->get_adaptor( 'Human', 'Core', 
'MetaContainer' );
my $database_version = $meta_container->get_schema_version();


Hope that helps,
Magali

On 12/03/2014 09:17, Alexia Cardona wrote:
> Dear all,
> I'm trying to find out what version of the database and also version 
> of the API I am using through the EnsEMBL API.  Is there a method I 
> can use to check this please?
> Thanks
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20140312/7403df02/attachment.html>


More information about the Dev mailing list