aboutsummaryrefslogtreecommitdiff
path: root/sys/libbio/test.c
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-28 14:41:33 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-28 14:41:33 -0700
commit9fd30c9e0ec9c5716b8cb7b8896318178d4b08bd (patch)
tree0815cd9deb346cf729834566275446c3d2d8b40b /sys/libbio/test.c
parent4a03c700d5391e3fa18f9d9b219936ef5c9eb722 (diff)
fix: ladderize now sorts by number of nodes contained below
Diffstat (limited to 'sys/libbio/test.c')
-rw-r--r--sys/libbio/test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/libbio/test.c b/sys/libbio/test.c
index dddecd4..2efcdb6 100644
--- a/sys/libbio/test.c
+++ b/sys/libbio/test.c
@@ -109,6 +109,7 @@ test·newick()
fd[1] = io·open("/home/nolln/root/data/test/zika.proc.nwk", "w");
err = bio·readnewick(rdr, fd[0], al, mem, &t);
+ phylo·ladderize(t.root);
printf("Loaded tree with %d leafs and %d nodes\n", t.nleaf, t.nnode);
err = bio·writenewick(t, wtr, fd[1]);