X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=c03751518e3e9a2ab54da2e38be693e08a3d6c34;hb=ec453945974b5c72af0bea042e3517312566d592;hp=e357e6cd70c45ec8c0fdeaa4100d8473b7fcebda;hpb=c196b6b4768ccb84955d773ff0f22e4994d1ba7b;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index e357e6c..c037515 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -11,7 +11,6 @@ #include "readdistcommand.h" #include "readtreecommand.h" #include "readotucommand.h" -#include "readseqscommand.h" #include "clustercommand.h" #include "parselistcommand.h" #include "collectcommand.h" @@ -41,6 +40,7 @@ #include "treegroupscommand.h" #include "bootstrapsharedcommand.h" #include "concensuscommand.h" +#include "distancecommand.h" /***********************************************************/ @@ -66,7 +66,6 @@ Command* CommandFactory::getCommand(string commandName){ if(commandName == "read.dist") { command = new ReadDistCommand(); } else if(commandName == "read.otu") { command = new ReadOtuCommand(); } - else if(commandName == "read.seqs") { command = new ReadSeqsCommand(); } else if(commandName == "read.tree") { command = new ReadTreeCommand(); } else if(commandName == "cluster") { command = new ClusterCommand(); } else if(commandName == "deconvolute") { command = new DeconvoluteCommand(); } @@ -93,6 +92,7 @@ Command* CommandFactory::getCommand(string commandName){ else if(commandName == "tree.shared") { command = new TreeGroupCommand(); } else if(commandName == "bootstrap.shared") { command = new BootSharedCommand(); } else if(commandName == "concensus") { command = new ConcensusCommand(); } + else if(commandName == "dist.seq") { command = new DistanceCommand(); } else { command = new NoCommand(); } return command;