Skip to content

Commit fee7d4c

Browse files
committed
bugfix: allow empty lines in the Stockholm file
1 parent 7a9141d commit fee7d4c

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)