You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the mapping between strings and newick labels (in newick generated by treemachine and taxomachine) were invertible. Quotation takes care of this for the most part, but currently, underscore is treated the same as space, and mapped to _ when not quoted, so there is no way to regenerate the distinction when the label is converted back to a string.
To get invertibility, we would have to treat _ as a character that needs to be quoted (since otherwise both space and _ would go to _). Currently it's treated as non-special. At that point the other analysis applies: either we have Foo_ott123 and 'Foo+ ott123', or we have 'Foo_ott123' and 'Foo+_ott123'. I have not yet done anything about this.
It would be nice if the mapping between strings and newick labels (in newick generated by treemachine and taxomachine) were invertible. Quotation takes care of this for the most part, but currently, underscore is treated the same as space, and mapped to _ when not quoted, so there is no way to regenerate the distinction when the label is converted back to a string.
To get invertibility, we would have to treat _ as a character that needs to be quoted (since otherwise both space and _ would go to _). Currently it's treated as non-special. At that point the other analysis applies: either we have Foo_ott123 and 'Foo+ ott123', or we have 'Foo_ott123' and 'Foo+_ott123'. I have not yet done anything about this.
This issue was split off from OpenTreeOfLife/treemachine#131 .
The text was updated successfully, but these errors were encountered: