source: tags/ms_r18q1/UNIT_TESTER/run/trees/test.tree

Last change on this file was 10367, checked in by westram, 11 years ago
  • TreeReader:
    • improved error handling
      • check and warn about invalid branchlength specifier
    • splitted load_tree() into load_named_node() and load_subtree()
      • now correctly reads name of root-node
    • better support for single node subtrees (e.g. '(a)'); still does not work correctly in several cases
  • fix test data:
    • trees/test.tree contained a malformed length-specifier at root-node
    • trees 'tree_newick_group' and 'tree_newick_len_group' contain a named root. Expect that group in resulting DB-tree.
File size: 283 bytes
Line 
1[tree covering most of tree reader code
2comment contains [extra brackets] inside comment
3]
4(
5        (s1:0.2, s2:0.4):0.6,
6        (
7                s3
8                :
9                0.3
10                ,
11                's 4':0.1):0.1,
12        (s5:0.02, "s-6":0.04):0.06
13):0.2;
14
Note: See TracBrowser for help on using the repository browser.