]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
deleted read.shared command and added its functionality to read.otu.
[mothur.git] / commandfactory.cpp
index dbcfb54be8c09fbf6177ad2d4ed10be8773d0358..a5ec5f12c48059089496af3a39d26b0fedb12f52 100644 (file)
@@ -15,6 +15,9 @@
 #include "parselistcommand.h"
 #include "collectcommand.h"
 #include "collectsharedcommand.h"
+#include "getgroupcommand.h"
+#include "getlabelcommand.h"
+#include "getlinecommand.h"
 #include "rarefactcommand.h"
 #include "summarycommand.h"
 #include "summarysharedcommand.h"
@@ -27,7 +30,7 @@
 #include "parsimonycommand.h"
 #include "unifracunweightedcommand.h"
 #include "unifracweightedcommand.h"
-#include <exception>
+#include "mothur.h"
 
 
 /***********************************************************/
@@ -68,8 +71,11 @@ Command* CommandFactory::getCommand(string commandName){
                else if(commandName == "summary.shared")                {       command = new SummarySharedCommand();           }
                else if(commandName == "unifrac.weighted")              {       command = new UnifracWeightedCommand();         }
                else if(commandName == "unifrac.unweighted")    {       command = new UnifracUnweightedCommand();       }
+               else if(commandName == "get.group")             {   command = new GetgroupCommand();        }
+               else if(commandName == "get.label")             {   command = new GetlabelCommand();        }
+               else if(commandName == "get.line")              {   command = new GetlineCommand();         }
                else                                                                                    {       command = new NoCommand();                                      }
-                       
+
                return command;
        }
        catch(exception& e) {