X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=clustersplitcommand.cpp;h=e9ab530936af07faf4375b263d82d79e6d30846a;hb=44b464979e91c2a1f144ac45ca12c14fcf6579f0;hp=ab8bdcfdfa6ea950745c857efe482352bbc19d4c;hpb=62568a297aaf939ab753334f17abde82ec8e8531;p=mothur.git diff --git a/clustersplitcommand.cpp b/clustersplitcommand.cpp index ab8bdcf..e9ab530 100644 --- a/clustersplitcommand.cpp +++ b/clustersplitcommand.cpp @@ -93,8 +93,8 @@ ClusterSplitCommand::ClusterSplitCommand(string option) { if (namefile == "not open") { abort = true; } else if (namefile == "not found") { namefile = ""; } - if ((phylipfile == "") && (columnfile == "")) { m->mothurOut("When executing a hcluster command you must enter a phylip or a column."); m->mothurOutEndLine(); abort = true; } - else if ((phylipfile != "") && (columnfile != "")) { m->mothurOut("When executing a hcluster command you must enter ONLY ONE of the following: phylip or column."); m->mothurOutEndLine(); abort = true; } + if ((phylipfile == "") && (columnfile == "")) { m->mothurOut("When executing a cluster.split command you must enter a phylip or a column."); m->mothurOutEndLine(); abort = true; } + else if ((phylipfile != "") && (columnfile != "")) { m->mothurOut("When executing a cluster.split command you must enter ONLY ONE of the following: phylip or column."); m->mothurOutEndLine(); abort = true; } if (columnfile != "") { if (namefile == "") { cout << "You need to provide a namefile if you are going to use the column format." << endl; abort = true; }