[ensembl-dev] the new command for retrieving all_nodes

Liu Jialin Jialin.Liu at unil.ch
Wed Apr 8 09:59:19 BST 2015


Thanks, It's work now.

Best,
Jialin
________________________________________
From: dev-bounces at ensembl.org <dev-bounces at ensembl.org> on behalf of Matthieu Muffato <muffato at ebi.ac.uk>
Sent: Wednesday, April 8, 2015 10:52 AM
To: Ensembl developers list
Subject: Re: [ensembl-dev] the new command for retrieving all_nodes

Dear Jialin,

It should still work, but the return value is an array-ref, so the line
should rather be:
   foreach my $node (@{$root->get_all_nodes}) {
     ...
   }

Matthieu

On 08/04/15 09:48, Liu Jialin wrote:
> Dear list,
>
>
> I'm want to know what is the new command for retrieving all_nodes?
> Because the old command( foreach my $node ($root->get_all_nodes))
> doesn't  work now.
>
>
> Cheers,
>
> Jialin
>
>

_______________________________________________
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/




More information about the Dev mailing list