[ensembl-dev] Use of uninitialized value in string eq

Liu Jialin Jialin.Liu at unil.ch
Wed Apr 8 13:56:20 BST 2015


Thanks, it works now.
________________________________________
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 1:57 PM
To: Ensembl developers list
Subject: Re: [ensembl-dev] Use of uninitialized value in string eq

Leaves don't have the "node_type" attribute, so I think you can add
  and (not $node->is_leaf())
to get rid of the warning

Matthieu

On 08/04/15 12:50, Liu Jialin wrote:
> Dear list,
>
>
>   When I run the below command, I got a mistake information:Use of
> uninitialized value in string eq. Any ideas?
>
>
> (if(($node->taxonomy_level() eq'Mus musculus')
> and($node->get_tagvalue('node_type') eq'duplication')
> and($node->get_tagvalue("duplication_confidence_score") ge0.5))
>
>
> 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