From fb4c4ceba416376751196cdbbdb5f7240e08a405 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Wed, 22 Apr 2020 18:15:17 -0700 Subject: fix: bug squashing with newick parser --- include/libbio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/libbio.h') diff --git a/include/libbio.h b/include/libbio.h index d8430b3..58540d4 100644 --- a/include/libbio.h +++ b/include/libbio.h @@ -16,7 +16,8 @@ typedef struct bio·Node struct bio·Node *sibling; } bio·Node; -error phylo·addchild(bio·Node* parent, bio·Node* child); +error phylo·addchild(bio·Node *parent, bio·Node* child); +bool phylo·isleaf(bio·Node *node); typedef struct bio·Tree { @@ -24,6 +25,7 @@ typedef struct bio·Tree } bio·Tree; bio·Tree bio·readnewick(Stream *file, mem·Allocator heap); +error bio·writenewick(bio·Tree tree, Stream *out); // ----------------------------------------------------------------------- // Sequences -- cgit v1.2.1