mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
Patch a bug in the genbank reader when reading CONTIG entries
Former-commit-id: dfe1433fbb68a79d59a3ee45e7e5b58c1599dad6
This commit is contained in:
@ -182,7 +182,7 @@ func _ParseGenbankFile(source string,
|
|||||||
processed = true
|
processed = true
|
||||||
|
|
||||||
case state == inSequence:
|
case state == inSequence:
|
||||||
log.Debugf("Chunk %d : Genbank: line %d, state = %d : %s", chunks.order, nl, state, line)
|
// log.Debugf("Chunk %d : Genbank: line %d, state = %d : %s", chunks.order, nl, state, line)
|
||||||
|
|
||||||
sl++
|
sl++
|
||||||
parts := strings.SplitN(line[10:], " ", 6)
|
parts := strings.SplitN(line[10:], " ", 6)
|
||||||
@ -207,6 +207,10 @@ func _ParseGenbankFile(source string,
|
|||||||
processed = true
|
processed = true
|
||||||
case inEntry:
|
case inEntry:
|
||||||
processed = true
|
processed = true
|
||||||
|
case inContig:
|
||||||
|
processed = true
|
||||||
|
default:
|
||||||
|
log.Fatalf("Unexpected state %d while reading: %s", state, line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user