X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=commandfactory.cpp;h=baef2164942f5e637f43d8b3b6431091ef13ca63;hb=a218321731df14d231bbc08e79906f757cf1540d;hp=964847478ae6e9e42f7ebb7c8ef35b5f452ff3f5;hpb=818dcf9513122fa52616a7722f4893f77685a621;p=mothur.git diff --git a/commandfactory.cpp b/commandfactory.cpp index 9648474..baef216 100644 --- a/commandfactory.cpp +++ b/commandfactory.cpp @@ -64,6 +64,7 @@ #include "pcacommand.h" #include "otuhierarchycommand.h" #include "setdircommand.h" +#include "parselistscommand.h" /*******************************************************/ @@ -138,6 +139,7 @@ CommandFactory::CommandFactory(){ commands["otu.hierarchy"] = "otu.hierarchy"; commands["set.dir"] = "set.dir"; commands["merge.files"] = "merge.files"; + commands["parse.list"] = "parse.list"; } /***********************************************************/ @@ -220,7 +222,8 @@ Command* CommandFactory::getCommand(string commandName, string optionString){ else if(commandName == "pre.cluster") { command = new PreClusterCommand(optionString); } else if(commandName == "pcoa") { command = new PCACommand(optionString); } else if(commandName == "otu.hierarchy") { command = new OtuHierarchyCommand(optionString); } - else if(commandName == "set.dir") { command = new SetDirectoryCommand(optionString); } + else if(commandName == "set.dir") { command = new SetDirectoryCommand(optionString); } + else if(commandName == "parse.list") { command = new ParseListCommand(optionString); } else { command = new NoCommand(optionString); } return command;