]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
fixed project
[mothur.git] / commandfactory.cpp
index 4d2b0ae2b93a6e205ae8b8d24a86dea37c2f6606..a40c432f54d18c19e549e9370253fb52dd9ddfa3 100644 (file)
@@ -164,7 +164,7 @@ CommandFactory::CommandFactory(){
        commands["clearcut"]                    = "clearcut";
        commands["catchall"]                    = "catchall";
        commands["split.abund"]                 = "split.abund";
-       //commands["cluster.split"]             = "cluster.split";
+       commands["cluster.split"]               = "cluster.split";
        commands["classify.seqs"]               = "MPIEnabled"; 
        commands["dist.seqs"]                   = "MPIEnabled";
        commands["filter.seqs"]                 = "MPIEnabled";
@@ -249,7 +249,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "tree.shared")                   {   command = new TreeGroupCommand(optionString);                               }
                else if(commandName == "dist.shared")                   {   command = new MatrixOutputCommand(optionString);                    }
                else if(commandName == "bootstrap.shared")              {   command = new BootSharedCommand(optionString);                              }
-               //else if(commandName == "consensus")                   {   command = new ConcensusCommand(optionString);                               }
+               else if(commandName == "consensus")                             {   command = new ConcensusCommand(optionString);                               }
                else if(commandName == "dist.seqs")                             {   command = new DistanceCommand(optionString);                                }
                else if(commandName == "align.seqs")                    {   command = new AlignCommand(optionString);                                   }
                else if(commandName == "summary.seqs")                  {       command = new SeqSummaryCommand(optionString);                          }
@@ -287,7 +287,7 @@ Command* CommandFactory::getCommand(string commandName, string optionString){
                else if(commandName == "clearcut")                              {       command = new ClearcutCommand(optionString);                            }
                else if(commandName == "catchall")                              {       command = new CatchAllCommand(optionString);                            }
                else if(commandName == "split.abund")                   {       command = new SplitAbundCommand(optionString);                          }
-               //else if(commandName == "cluster.split")                       {       command = new ClusterSplitCommand(optionString);                        }
+               else if(commandName == "cluster.split")                 {       command = new ClusterSplitCommand(optionString);                        }
                else                                                                                    {       command = new NoCommand(optionString);                                          }
 
                return command;