Skip to content

Commit

Permalink
bugfix: allow empty lines in the Stockholm file
Browse files Browse the repository at this point in the history
  • Loading branch information
muffato committed Oct 10, 2017
1 parent 7a9141d commit fee7d4c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/align.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit fee7d4c

Please sign in to comment.