X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=filterseqscommand.cpp;h=8b68988884acb408d0e72c5c3fa407a7b9f241b6;hp=b17d9ed6799d9c8287664cf63241b0fde01bf40e;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=c85db0a4be3a1f8037a71a23ca73f9762184e28a diff --git a/filterseqscommand.cpp b/filterseqscommand.cpp index b17d9ed..8b68988 100644 --- a/filterseqscommand.cpp +++ b/filterseqscommand.cpp @@ -558,7 +558,7 @@ int FilterSeqsCommand::driverMPIRun(int start, int num, MPI_File& inMPI, MPI_Fil } - if((i+1) % 100 == 0){ cout << (i+1) << endl; m->mothurOutJustToLog(toString(i+1) + "\n"); } + if((i+1) % 100 == 0){ cout << (i+1) << endl; } } if(outputString != ""){ //output to file @@ -572,7 +572,7 @@ int FilterSeqsCommand::driverMPIRun(int start, int num, MPI_File& inMPI, MPI_Fil delete buf; } - if((num) % 100 != 0){ cout << (num) << endl; m->mothurOutJustToLog(toString(num) + "\n"); } + if((num) % 100 != 0){ cout << (num) << endl; } return 0; } @@ -623,10 +623,10 @@ int FilterSeqsCommand::driverRunFilter(string F, string outputFilename, string i #endif //report progress - if((count) % 100 == 0){ m->mothurOut(toString(count)); m->mothurOutEndLine(); } + if((count) % 100 == 0){ m->mothurOutJustToScreen(toString(count)+"\n"); } } //report progress - if((count) % 100 != 0){ m->mothurOut(toString(count)); m->mothurOutEndLine(); } + if((count) % 100 != 0){ m->mothurOutJustToScreen(toString(count)+"\n"); } out.close(); @@ -1006,10 +1006,10 @@ int FilterSeqsCommand::driverCreateFilter(Filters& F, string filename, linePair* #endif //report progress - if((count) % 100 == 0){ m->mothurOut(toString(count)); m->mothurOutEndLine(); } + if((count) % 100 == 0){ m->mothurOutJustToScreen(toString(count)+"\n"); } } //report progress - if((count) % 100 != 0){ m->mothurOut(toString(count)); m->mothurOutEndLine(); } + if((count) % 100 != 0){ m->mothurOutJustToScreen(toString(count)+"\n"); } in.close(); return count; @@ -1052,11 +1052,11 @@ int FilterSeqsCommand::MPICreateFilter(int start, int num, Filters& F, MPI_File& cout.flush(); //report progress - if((i+1) % 100 == 0){ cout << (i+1) << endl; m->mothurOutJustToLog(toString(i+1) + "\n"); } + if((i+1) % 100 == 0){ cout << (i+1) << endl; } } //report progress - if((num) % 100 != 0){ cout << num << endl; m->mothurOutJustToLog(toString(num) + "\n"); } + if((num) % 100 != 0){ cout << num << endl; } return 0; }