]> git.donarmstrong.com Git - mothur.git/blobdiff - unifracunweightedcommand.cpp
modifications to commands to add headers to list file.
[mothur.git] / unifracunweightedcommand.cpp
index ab8afd07ffd96728e6204d2f9b2bbd2adc719787..d2c459d9381a7d28481d8808f31f08cf7e30d577 100644 (file)
@@ -421,7 +421,7 @@ int UnifracUnweightedCommand::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 (subsample) { m->mothurOut("It took " + toString(time(NULL) - startSubsample) + " secs to run the subsampling."); m->mothurOutEndLine(); }
             
@@ -736,7 +736,7 @@ int UnifracUnweightedCommand::runRandomCalcs(Tree* thisTree, vector<double> user
             float rcumul = 1.0000;
     
             //this loop fills the cumulative maps and put 0.0000 in the score freq map to make it easier to print.
-            for (map<float,float>::iterator it = validScores.begin(); it != validScores.end(); it++) { 
+            for (map<float,float>::iterator it = validScores.begin(); it != validScores.end(); it++) {
                 //make rscoreFreq map and rCumul
                 map<float,float>::iterator it2 = rscoreFreq[a].find(it->first);
                 rCumul[a][it->first] = rcumul;