Hi Ensembl,<div><br></div><div>I've been using a perl script that uses the ensembl compara api to retrieve protein trees. It worked fine until last week, now it exits with the following error:</div><div><br></div><div>
Can't call method "get_adaptor" on an undefined value at /home/luc/Code/gene2proteintree line 22, <FILE> line 43.</div><div><br></div><div>It seems that there is a problem connecting to the server.</div>
<div>The line of code where the error occurs is the last one of the following snippet:</div><div><br></div><div><br></div><div><div>    my $compara_dba;</div><div>    foreach my $dba( @{Bio::EnsEMBL::Registry->get_all_DBAdaptors()} ){</div>
<div>        if( $dba->isa('Bio::EnsEMBL::Compara::DBSQL::DBAdaptor') ){</div><div>          $compara_dba = $dba;</div><div>          last;</div><div>        }</div><div>    }</div><div><br></div><div>    my $member_adaptor   = $compara_dba->get_adaptor('Member');</div>
</div><div><br></div><div><br></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium; "><pre>Many thanks in advance</pre>
<pre>Luc</pre></span></div><div><br></div>