Skip to content

Commit 3b3991e

Browse files
author
Kevin Howe
authored
Merge pull request #3 from muffato/master
bugfix: allow empty lines in the Stockholm file
2 parents 7a9141d + fee7d4c commit 3b3991e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/align.c

+2
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ struct Alignment *read_Stockholm_Alignment( FILE *handle ) {
247247

248248
if (line[0] == comment)
249249
continue;
250+
if (line[0] == '\n')
251+
continue;
250252
else if (strncmp(line, terminator, 2) == 0) {
251253
break;
252254
}

0 commit comments

Comments
 (0)