]> git.donarmstrong.com Git - mothur.git/blobdiff - seqsummarycommand.h
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / seqsummarycommand.h
index c4e6131524d9c64b4496df7f9d5d34a315e6b34e..552f4a08bee284bf914e6a50cd51176864b8b1d8 100644 (file)
@@ -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);