]> git.donarmstrong.com Git - mothur.git/blobdiff - chimerauchimecommand.cpp
added end of file character to some type type reads. fixes while testing.
[mothur.git] / chimerauchimecommand.cpp
index 1d7e252cb702f58138ae0e756460bb98273b8908..3d23a7693818f329ff6ac53cca560998c8a9fc95 100644 (file)
@@ -564,10 +564,7 @@ ChimeraUchimeCommand::ChimeraUchimeCommand(string option)  {
             
             
                        temp = validParameter.validFile(parameters, "dereplicate", false);      
-                       if (temp == "not found") { 
-                               if (groupfile != "")    {  temp = "false";                                      }
-                               else                    {  temp = "true";       }
-                       }
+                       if (temp == "not found") { temp = "false";                      }
                        dups = m->isTrue(temp);
 
                        
@@ -820,6 +817,11 @@ int ChimeraUchimeCommand::execute(){
                if (itTypes != outputTypes.end()) {
                        if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setAccnosFile(current); }
                }
+        
+        itTypes = outputTypes.find("count");
+               if (itTypes != outputTypes.end()) {
+                       if ((itTypes->second).size() != 0) { current = (itTypes->second)[0]; m->setCountTableFile(current); }
+               }
                
                m->mothurOutEndLine();
                m->mothurOut("Output File Names: "); m->mothurOutEndLine();