Patch a bug in the embl reader and adds some doc

Former-commit-id: 9b5f75fb14bcc3043da1647055279987a295d271
This commit is contained in:
2024-01-31 15:43:02 +01:00
parent f2f7b4574e
commit 23758b00f6
7 changed files with 105 additions and 4 deletions

View File

@ -133,7 +133,8 @@ func _ParseEmblFile(source string, input <-chan _FileChunk, out obiiter.IBioSequ
}
case strings.HasPrefix(line, " "):
parts := strings.SplitN(line[5:], " ", 7)
for i := 0; i < 6; i++ {
np := len(parts)
for i := 0; i < np; i++ {
seqBytes.WriteString(parts[i])
}
case line == "//":