X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mgclustercommand.cpp;h=a2079251c4af101750b317e3926eba75d5302c9c;hb=6b32d112bb60e9f7eb6d4407a4eed4c49b67bced;hp=97f0afdb366949d39e5af37a96c0211d9df0ca17;hpb=68d53ac6682978c5a023c1a3a4e5df6f8302d9fa;p=mothur.git diff --git a/mgclustercommand.cpp b/mgclustercommand.cpp index 97f0afd..a207925 100644 --- a/mgclustercommand.cpp +++ b/mgclustercommand.cpp @@ -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 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;