]> git.donarmstrong.com Git - mothur.git/blobdiff - distancecommand.cpp
working on nmds command
[mothur.git] / distancecommand.cpp
index cf7939ca233ff2a150e1c7589baed81d151d54d7..a3cebe27ac3a0dec63f8b21b3d1a446864350d28 100644 (file)
@@ -49,7 +49,7 @@ vector<string> DistanceCommand::getRequiredParameters(){
                return myArray;
        }
        catch(exception& e) {
-               m->errorOut(e, "ChopSeqsCommand", "getRequiredParameters");
+               m->errorOut(e, "DistanceCommand", "getRequiredParameters");
                exit(1);
        }
 }
@@ -314,7 +314,7 @@ int DistanceCommand::execute(){
                        //delete filename;
 
                        if (pid == 0) { //you are the root process 
-                       
+                               
                                //do your part
                                string outputMyPart;
                                
@@ -1151,6 +1151,8 @@ bool DistanceCommand::sanityCheck() {
                        remove(outputFile.c_str()); //temp file is bad because file mismatch above
                }
                
+               return good;
+               
        }
        catch(exception& e) {
                m->errorOut(e, "DistanceCommand", "sanityCheck");