X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=seqsummarycommand.h;h=552f4a08bee284bf914e6a50cd51176864b8b1d8;hb=a0f1fca79d2ddfa7ad36b4485039c68b5704fe8d;hp=c4e6131524d9c64b4496df7f9d5d34a315e6b34e;hpb=deba0af0ccdcb6005ed5b2b82649b137c63fbdf7;p=mothur.git diff --git a/seqsummarycommand.h b/seqsummarycommand.h index c4e6131..552f4a0 100644 --- a/seqsummarycommand.h +++ b/seqsummarycommand.h @@ -114,9 +114,10 @@ static DWORD WINAPI MySeqSumThreadFunction(LPVOID lpParam){ in.seekg(pDataArray->start-1); pDataArray->m->gobble(in); } - pDataArray->count = pDataArray->end; for(int i = 0; i < pDataArray->end; i++){ //end is the number of sequences to process + pDataArray->count++; + if (pDataArray->m->control_pressed) { in.close(); outSummary.close(); pDataArray->count = 1; return 1; } Sequence current(in); pDataArray->m->gobble(in);