]> git.donarmstrong.com Git - mothur.git/blobdiff - mantelcommand.cpp
1.23.0
[mothur.git] / mantelcommand.cpp
index c3ab352a0119ad3aad7ee0959b7c387522a642d1..409eae414779acb412abec7aa295b61e82cd0e16 100644 (file)
@@ -125,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; }
                }