From 3d9aa68c5bb95bcb7d96c195face1c216395ee37 Mon Sep 17 00:00:00 2001 From: Frederic Lemoine Date: Wed, 4 Jul 2018 14:00:56 +0200 Subject: [PATCH] Accept numeric sequence names in nexus parser --- io/nexus/nexus_parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io/nexus/nexus_parser.go b/io/nexus/nexus_parser.go index 78b5198..e94814e 100644 --- a/io/nexus/nexus_parser.go +++ b/io/nexus/nexus_parser.go @@ -410,7 +410,7 @@ func (p *Parser) parseData() (names []string, sequences map[string]string, nchar for !stopmatrix { tok2, lit2 := p.scanIgnoreWhitespace() switch tok2 { - case IDENT: + case IDENT, NUMERIC: // We remove whitespaces in sequences if any // and take into account possibly interleaved // sequences