]> git.donarmstrong.com Git - mothur.git/blobdiff - clusterdoturcommand.cpp
working on current change
[mothur.git] / clusterdoturcommand.cpp
index 9f51a8cfd07d83887010f2612831f2eb72e323a7..3f629dc09af39d7c9785a18687d9aecb8bee5f58 100644 (file)
@@ -132,13 +132,14 @@ ClusterDoturCommand::ClusterDoturCommand(string option)  {
                                        m->mothurOut("You need to provide a phylip file with the cluster.classic command."); m->mothurOutEndLine(); 
                                        abort = true; 
                                }       
-                       }       
+                       }else { m->setPhylipFile(phylipfile); } 
 
                
                        //check for optional parameter and set defaults
                        namefile = validParameter.validFile(parameters, "name", true);
                        if (namefile == "not open") { abort = true; }   
                        else if (namefile == "not found") { namefile = ""; }
+                       else { m->setNameFile(namefile); }
                        
                        string temp;
                        temp = validParameter.validFile(parameters, "precision", false);