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

Matthieu Muffato muffato at ebi.ac.uk
Wed Apr 8 12:57:42 BST 2015


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




More information about the Dev mailing list