]> git.donarmstrong.com Git - mothur.git/blobdiff - commandfactory.cpp
made sorting optional but sort by default, in case the user wants to see the heatmap...
[mothur.git] / commandfactory.cpp
index 729895d853957e820a5bc6224ed3898873c3a336..56fd56b348bdb497cdb04b01d01f4c3a87901a61 100644 (file)
@@ -30,8 +30,9 @@
 #include "unifracunweightedcommand.h"
 #include "unifracweightedcommand.h"
 #include "libshuffcommand.h"
+#include "heatmapcommand.h"
 #include "mothur.h"
-#include "nocommand.h"
+#include "nocommands.h"
 
 
 /***********************************************************/
@@ -75,6 +76,7 @@ Command* CommandFactory::getCommand(string commandName){
                else if(commandName == "get.label")             {   command = new GetlabelCommand();                    }
                else if(commandName == "get.line")              {   command = new GetlineCommand();                             }
                else if(commandName == "libshuff")              {   command = new LibShuffCommand();                    }
+               else if(commandName == "heatmap")                               {   command = new HeatMapCommand();                             }
                else                                                                                    {       command = new NoCommand();                                      }
 
                return command;