X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=49d197c40b9fe215f8067fa8d8a8f6ddb262f45c;hb=67b6343929b6dbed97c4b26c3bb849725d573f6d;hp=edb3fc358b78394f24634c1398e76872324f6df3;hpb=d5c8caf2d08b7ac6de30e33b1d19cfd246d08f03;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index edb3fc3..49d197c 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -23,6 +23,7 @@ #include "quitcommand.h" #include "helpcommand.h" #include "commandfactory.hpp" +#include "deconvolutecommand.h" #include @@ -48,10 +49,11 @@ Command* CommandFactory::getCommand(string commandName){ try { delete command; //delete the old command - if(commandName == "read.dist") { command = new ReadDistCommand(); } - else if(commandName == "read.otu") { command = new ReadOtuCommand(); } + if(commandName == "read.dist") { command = new ReadDistCommand(); } + else if(commandName == "read.otu") { command = new ReadOtuCommand(); } else if(commandName == "read.list") { command = new ReadListFileCommand(); } else if(commandName == "cluster") { command = new ClusterCommand(); } + else if(commandName == "deconvolute") { command = new DeconvoluteCommand(); } else if(commandName == "help") { command = new HelpCommand(); } else if(commandName == "quit") { command = new QuitCommand(); } else if(commandName == "collect.single") { command = new CollectCommand(); }