]> git.donarmstrong.com Git - mothur.git/blobdiff - pcrseqscommand.h
added checks to make sure windows processes completed their tasks.
[mothur.git] / pcrseqscommand.h
index 9fc40419411ff2535f01eb150699b30227225a3b..c6f7ff9c7f6670073a7080496f80eac1cdfb2a72 100644 (file)
@@ -132,9 +132,9 @@ static DWORD WINAPI MyPcrThreadFunction(LPVOID lpParam){
                }
         
         set<int> lengths;
-               pDataArray->count = pDataArray->fend;
+               
                for(int i = 0; i < pDataArray->fend; i++){ //end is the number of sequences to process
-            
+            pDataArray->count++;
                        if (pDataArray->m->control_pressed) {  break; }
                        
                        Sequence currSeq(inFASTA); pDataArray->m->gobble(inFASTA);