+ if ((commandName == "unifrac.weighted") || (commandName == "unifrac.unweighted")) {
+ if (globaldata->gTree.size() == 0) {//no trees were read
+ cout << "You must execute the read.tree command, before you may execute the unifrac.weighted or unifrac.unweighted command." << endl; return false; }
+ }
+