[Biojava-l] A question about NexusFile and NewickTreeString

Tiago Antão tiagoantao at gmail.com
Fri Dec 18 12:04:54 UTC 2009


2009/12/15 Richard Holland <holland at eaglegenomics.com>:
> Tiago - your new code doesn't seem to be coping with the insertion of a newline at random points in the Tree string. I think you might need to modify your tokenize() method to handle this better? Could you also add a unit test using this particular tree.

Do you have any case that exposes this bug? I am trying with this:

#NEXUS

Begin TREES;
	tree test1 =
(
1
,
2
)
;

End;

And it works out fine and dandy.
Maybe the bug that you are spotting is really not a newline problem
but an instance of the other bug (ie node name that happens after a
newline and seems as a newline bug)?



More information about the Biojava-l mailing list