[ensembl-dev] V.64 - Perl Warning issued when using load_registry_from_multiple_dbs()
Andy Yates
ayates at ebi.ac.uk
Wed Oct 19 14:54:51 BST 2011
Hi Giuseppe,
Sorry about that it seems that a hash reference was incorrectly added. We've fixed the code in HEAD & in 64. Sorry for the long delay for the fix
Andy
On 6 Oct 2011, at 14:51, Giuseppe G. wrote:
> Doing a side by side comparison of load_registry_from_multiple_dbs() between v.63 and v.64 reports the following difference:
>
> 63 (line 2123) local %registry_register;
> 64 (line 2124) local %registry_register={};
>
> I guess the curly braces try to create a hash reference.
>
> Thanks
> G
>
> On 06/10/11 14:33, ian Longden wrote:
>> It sounds like you may be missing a bracket. This call should look
>> something like:-
>>
>> $registry->load_registry_from_multiple_dbs( {
>> '-host' => 'ensembldb.ensembl.org <http://ensembldb.ensembl.org>',
>> '-user' => 'anonymous',
>> '-verbose' => '1'
>> },
>> {
>> '-host' => 'server.example.com <http://server.example.com>',
>> '-user' => 'anonymouse',
>> '-password' => 'cheese',
>> '-verbose' => '1'
>> } );
>>
>>
>> If you send the actual call it would be easier to diagnose.
>>
>> Cheers,
>> Ian.
>>
>>
>> On Thu, Oct 6, 2011 at 2:09 PM, Giuseppe G. <G.Gallone at sms.ed.ac.uk
>> <mailto:G.Gallone at sms.ed.ac.uk>> wrote:
>>
>> Hi,
>>
>> I've just started using v.64. Perl issues a warning when processing
>> the arguments of load_registry_from_multiple___dbs():
>>
>> Reference found where even-sized list expected at
>> [SRCDIR]/ensembl/modules/Bio/__EnsEMBL/Registry.pm line 2124.
>>
>> Thanks
>> G
>>
>> --
>>
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>> _________________________________________________
>> Dev mailing list Dev at ensembl.org <mailto:Dev at ensembl.org>
>> List admin (including subscribe/unsubscribe):
>> http://lists.ensembl.org/__mailman/listinfo/dev
>> <http://lists.ensembl.org/mailman/listinfo/dev>
>> Ensembl Blog: http://www.ensembl.info/
>>
>>
>
> --
>
> The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.
>
> _______________________________________________
> Dev mailing list Dev at ensembl.org
> List admin (including subscribe/unsubscribe): http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/
---
Andrew Yates Ensembl Core Software Project Leader
EMBL-EBI Tel: +44-(0)1223-492538
Wellcome Trust Genome Campus Fax: +44-(0)1223-494468
Cambridge CB10 1SD, UK http://www.ensembl.org/
More information about the Dev
mailing list