]> git.donarmstrong.com Git - mothur.git/blobdiff - mgclustercommand.cpp
changes while testing
[mothur.git] / mgclustercommand.cpp
index 0a2f91f4d08241547b2e4653a3d09841486dc42c..e76dd4860b03826db116323af7e42528a591c526 100644 (file)
@@ -247,7 +247,7 @@ int MGClusterCommand::execute(){
         if(countfile != "") {
             //map<string, int> nameMapCounts = m->readNames(namefile);
             ct = new CountTable();
-            ct->readTable(countfile);
+            ct->readTable(countfile, false);
             rabund = new RAbundVector();
             createRabund(ct, list, rabund);
         }else {
@@ -271,10 +271,10 @@ int MGClusterCommand::execute(){
                
         map<string, string> variables; 
         variables["[filename]"] = fileroot;
-        if (countfile != "") { variables["[tag2]"] = "unique_list"; }
         variables["[clustertag]"] = tag;
         string sabundFileName = getOutputFileName("sabund", variables);
         string rabundFileName = getOutputFileName("rabund", variables);
+        if (countfile != "") { variables["[tag2]"] = "unique_list"; }
         string listFileName = getOutputFileName("list", variables);
         
         if (countfile == "") {