]> git.donarmstrong.com Git - mothur.git/blobdiff - treegroupscommand.cpp
broke apart read matrix file
[mothur.git] / treegroupscommand.cpp
index 6cc64feed9cb3b031b87ed9ea92bad616a362621..6393684f2e79380788553e978504d0f0d306253f 100644 (file)
@@ -85,14 +85,14 @@ int TreeGroupCommand::execute(){
                if (treeCalculators.size() == 0) { return 0; }
 
                if (format == "sharedfile") {
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                        
                        input = globaldata->ginput;
                        order = input->getSharedOrderVector();
                }else {
                        //you are using a list and a groupfile
-                       read = new ReadPhilFile(globaldata->inputFileName);     
+                       read = new ReadOTUFile(globaldata->inputFileName);      
                        read->read(&*globaldata); 
                
                        input = globaldata->ginput;