]> git.donarmstrong.com Git - mothur.git/blobdiff - mgclustercommand.cpp
working on current change
[mothur.git] / mgclustercommand.cpp
index 5a790afd45bbfcc2c92d23827aa58a184f257cee..fd2671750afa59b42fb3015c182df778b8871583 100644 (file)
@@ -141,6 +141,7 @@ MGClusterCommand::MGClusterCommand(string option) {
                        namefile = validParameter.validFile(parameters, "name", true);
                        if (namefile == "not open") { abort = true; }   
                        else if (namefile == "not found") { namefile = ""; }
+                       else { m->setNameFile(namefile); }
                        
                        if ((blastfile == "")) { m->mothurOut("When executing a mgcluster command you must provide a blastfile."); m->mothurOutEndLine(); abort = true; }