]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
fixed order of unifrac commands so that it matches the summary commands
[mothur.git] / summarysharedcommand.cpp
index e43c99708cd81a231286c10dc1c12d9035059fce..e6472a8af60b281eb84c021516dc1a88f6c01cb3 100644 (file)
@@ -231,7 +231,7 @@ int SummarySharedCommand::execute(){
                input = globaldata->ginput;
                lookup = input->getSharedRAbundVectors();
                string lastLabel = lookup[0]->getLabel();
-               
+       
                /******************************************************/
                //output headings for files
                /******************************************************/
@@ -412,7 +412,7 @@ int SummarySharedCommand::process(vector<SharedRAbundVector*> thisLookup, string
                                
                        #if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
                                if(processors == 1){
-                                       driver(thisLookup, 0, numGroups, sumFileName, sumAllFileName);
+                                       driver(thisLookup, 0, numGroups, sumFileName+".temp", sumAllFileName+".temp");
                                        m->appendFiles((sumFileName + ".temp"), sumFileName);
                                        remove((sumFileName + ".temp").c_str());
                                        if (mult) {