]> git.donarmstrong.com Git - mothur.git/blobdiff - chimeracheckcommand.cpp
added mothurOutJustToScreen function and changed all counter outputs to use it.
[mothur.git] / chimeracheckcommand.cpp
index 6caa606dc10ee387cd2eb829d264a7d17f0ee670..31a36f73c6d0339d775dd6a1a4efa8e523c0f14f 100644 (file)
@@ -547,11 +547,10 @@ int ChimeraCheckCommand::driver(linePair* filePos, string outputFName, string fi
                        #endif
                        
                        //report progress
-                       if((count) % 100 == 0){ m->mothurOut("Processing sequence: " + toString(count)); m->mothurOutEndLine();         }
-            count++;
+                       if((count) % 100 == 0){ m->mothurOutJustToScreen("Processing sequence: " + toString(count) + "\n");             }
                }
                //report progress
-               if((count) % 100 != 0){ m->mothurOut("Processing sequence: " + toString(count)); m->mothurOutEndLine();         }
+               if((count) % 100 != 0){ m->mothurOutJustToScreen("Processing sequence: " + toString(count) + "\n");     }
                
                out.close();
                inFASTA.close();
@@ -599,10 +598,10 @@ int ChimeraCheckCommand::driverMPI(int start, int num, MPI_File& inMPI, MPI_File
                        delete candidateSeq;
                        
                        //report progress
-                       if((i+1) % 100 == 0){  cout << "Processing sequence: " << (i+1) << endl;        m->mothurOutJustToLog("Processing sequence: " + toString(i+1) + "\n");          }
+                       if((i+1) % 100 == 0){  cout << "Processing sequence: " << (i+1) << endl;                }
                }
                //report progress
-               if(num % 100 != 0){             cout << "Processing sequence: " << num << endl; m->mothurOutJustToLog("Processing sequence: " + toString(num) + "\n");  }
+               if(num % 100 != 0){             cout << "Processing sequence: " << num << endl;         }
                
                return 0;
        }