]> git.donarmstrong.com Git - mothur.git/blobdiff - trimseqscommand.cpp
added flag to count table read so that commands that don't require the group info...
[mothur.git] / trimseqscommand.cpp
index 5a5d445cb8624386e90d4c714c1f460f1be0d509..81b9111b17dd8bba332ad8a8267cc12bf16e235a 100644 (file)
@@ -422,7 +422,7 @@ int TrimSeqsCommand::execute(){
                
                if (countfile != "") {
             CountTable ct;
-            ct.readTable(countfile);
+            ct.readTable(countfile, true);
             nameCount = ct.getNameMap();
                        outputNames.push_back(trimCountFile);
                        outputNames.push_back(scrapCountFile);
@@ -540,7 +540,7 @@ int TrimSeqsCommand::execute(){
             
             if (countfile != "") { //create countfile with group info included
                 CountTable* ct = new CountTable();
-                ct->readTable(trimCountFile);
+                ct->readTable(trimCountFile, true);
                 map<string, int> justTrimmedNames = ct->getNameMap();
                 delete ct;