Skip to content

Commit d48cc93

Browse files
committed
[Fix] Get correct number of header entries for subject sequences
1 parent 0f36e93 commit d48cc93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/search_output.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ myWriteHeader(TGH & globalHolder, TLambdaOptions const & options)
330330
if (sIsTranslated(TGH::blastProgram))
331331
{
332332
//TODO can we get around a copy?
333-
subjSeqLengths = globalHolder.untransSubjSeqLengths;
333+
subjSeqLengths = prefix(globalHolder.untransSubjSeqLengths, length(globalHolder.untransSubjSeqLengths) - 1);
334334
} else
335335
{
336336
// compute lengths ultra-fast

0 commit comments

Comments
 (0)