]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracweightedcommand.cpp
added mothurOutJustToScreen function and changed all counter outputs to use it.
[mothur.git] / unifracweightedcommand.cpp
index 81ea326e67665cb006500ed8d04f273b15fca2b4..3b0c53b7437111cfe5045663a8c78370274b939e 100644 (file)
@@ -408,7 +408,7 @@ int UnifracWeightedCommand::execute() {
                 delete newCt;
                 delete subSampleTree;
                 
-                if((thisIter+1) % 100 == 0){   m->mothurOut(toString(thisIter+1)); m->mothurOutEndLine();              }
+                if((thisIter+1) % 100 == 0){   m->mothurOutJustToScreen(toString(thisIter+1)+"\n");    }
             }
             
             if (m->control_pressed) { delete ct; for (int i = 0; i < T.size(); i++) { delete T[i]; } if (random) { delete output; } outSum.close(); for (int i = 0; i < outputNames.size(); i++) {     m->mothurRemove(outputNames[i]);  } return 0; }