]> git.donarmstrong.com Git - mothur.git/blobdiff - mgclustercommand.cpp
fixes while testing 1.33.0
[mothur.git] / mgclustercommand.cpp
index 97f0afdb366949d39e5af37a96c0211d9df0ca17..a2079251c4af101750b317e3926eba75d5302c9c 100644 (file)
@@ -240,7 +240,7 @@ int MGClusterCommand::execute(){
                        nameMap->readMap();
                }else if (countfile != "") {
             ct = new CountTable();
-            ct->readTable(countfile, false);
+            ct->readTable(countfile, false, false);
             nameMap= new NameAssignment();
             vector<string> tempNames = ct->getNamesOfSeqs();
             for (int i = 0; i < tempNames.size(); i++) {  nameMap->push_back(tempNames[i]);  }
@@ -295,6 +295,7 @@ int MGClusterCommand::execute(){
             m->openOutputFile(rabundFileName,  rabundFile);
         }
                m->openOutputFile(listFileName, listFile);
+        list->printHeaders(listFile);
                
                if (m->control_pressed) { 
                        delete nameMap; delete read; delete list; delete rabund;