]> git.donarmstrong.com Git - mothur.git/blobdiff - errorchecking.cpp
started venn command
[mothur.git] / errorchecking.cpp
index a057e5d1b396d69af85142d3695d326176b8fd0c..59cfb66fcc3d0f3e7136eabfebeacb4cd419d76c 100644 (file)
@@ -223,9 +223,9 @@ bool ErrorCheck::checkInput(string input) {
                        }
                }
                
-               if (commandName == "heatmap")
+               if ((commandName == "heatmap") || (commandName == "venn")) 
                        if ((globaldata->getListFile() == "") && (globaldata->getSharedFile() == "")) {
-                                cout << "You must read a list, or a list and a group, or a shared before you can use the heatmap command." << endl; return false; 
+                                cout << "You must read a list, or a list and a group, or a shared before you can use the heatmap or venn commands." << endl; return false; 
                        }
                }