Skip to content

program will crash when tips containing "unusual characters" #23

@Cactusolo

Description

@Cactusolo

for plant species names, sometimes there is hybrid species, which named as "Genus × epithetic".
So if a newick tree containing tips with "×" symbol, using function of "nw_labels, nw_renames", etc in newickutils, it will crash.

For example,
[cactus]$ nw_labels -I speciesname.tre|wc -l

ERROR: missing ')' at line 0 near 'leylandii'

0

if I use phyx to check which tip has the issue:

[cactus]$ pxlstr -t speciesname.tre -i|grep "leylandii"

Cupressus_×leylandii

Appreciate if you can fix it.

Thanks!

Miao

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions