X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=mantelcommand.cpp;h=409eae414779acb412abec7aa295b61e82cd0e16;hb=2009a1a1f47e7467094d844e7c07ab8ddf7bb447;hp=0c0163b538a747ca5b9b4eb82ef57a06ca302b91;hpb=1d898dc6edaf9e9f287fab53bf1f21fb29757a17;p=mothur.git diff --git a/mantelcommand.cpp b/mantelcommand.cpp index 0c0163b..409eae4 100644 --- a/mantelcommand.cpp +++ b/mantelcommand.cpp @@ -69,6 +69,7 @@ MantelCommand::MantelCommand(string option) { //allow user to run help if(option == "help") { help(); abort = true; calledHelp = true; } + else if(option == "citation") { citation(); abort = true; calledHelp = true;} else { vector myArray = setParameters(); @@ -124,7 +125,7 @@ MantelCommand::MantelCommand(string option) { method = validParameter.validFile(parameters, "method", false); if (method == "not found"){ method = "pearson"; } string temp = validParameter.validFile(parameters, "iters", false); if (temp == "not found") { temp = "1000"; } - convert(temp, iters); + m->mothurConvert(temp, iters); if ((method != "pearson") && (method != "spearman") && (method != "kendall")) { m->mothurOut(method + " is not a valid method. Valid methods are pearson, spearman, and kendall."); m->mothurOutEndLine(); abort = true; } }