Open arendsee opened 3 years ago
Comments (in [
, ]
) and 'metacomments' are only defined by the Nexus format. Surround the tree by:
#NEXUS
begin trees;
tree TREE = (('A','B')[&label=1,!color=#73ffff],'C');
end;
Then perhaps either an error should be raised or the comments should be entirely ignored. Single field comments, like [&label=1]
do work in the Newick inputs. So there is partial support, but commas aren't handled.
I agree - it should either complain or parse them.
For the tree
I would expect a 3-tip tree with the (A,B) subtree containing the label 1 and color #73ffff. But the comma in the label seems to be interpreted as an additional leaf.
See screen shot below:
I'm using FigTree v1.4.2