From fee7d4ce01c4f90a7cadc1b3aa6fc6858b1eab2f Mon Sep 17 00:00:00 2001 From: Matthieu Muffato Date: Tue, 10 Oct 2017 12:43:57 +0100 Subject: [PATCH] bugfix: allow empty lines in the Stockholm file --- src/align.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/align.c b/src/align.c index e722b20..ef72401 100644 --- a/src/align.c +++ b/src/align.c @@ -247,6 +247,8 @@ struct Alignment *read_Stockholm_Alignment( FILE *handle ) { if (line[0] == comment) continue; + if (line[0] == '\n') + continue; else if (strncmp(line, terminator, 2) == 0) { break; }