]> git.donarmstrong.com Git - mothur.git/commitdiff
got rid of rd_parsimony ext.
authorwestcott <westcott>
Fri, 6 Mar 2009 15:40:01 +0000 (15:40 +0000)
committerwestcott <westcott>
Fri, 6 Mar 2009 15:40:01 +0000 (15:40 +0000)
fullmatrix.cpp
parsimonycommand.cpp

index 6ff9334604c0fd0b622b55d971e7eeb69c946e63..3f1344c6c930bfebadcc0cb10a3939379db27886 100644 (file)
 //This constructor reads a distance matrix file and stores the data in the matrix.
 FullMatrix::FullMatrix(ifstream& f) {
        try{
-               f >> numSeqs;
+               string name;
+               f >> numSeqs >> name;
+               
+               matrix.resize(numSeqs);  
+               
                
        
        }
index 633ddad982df6be8931b463dfe6d6c2e1b0cd8ef..4b3435e7e465535d8b93ffe370645cd6e936c2fb 100644 (file)
@@ -28,8 +28,8 @@ ParsimonyCommand::ParsimonyCommand() {
                }else { //user wants random distribution
                        savetmap = globaldata->gTreemap;
                        getUserInput();
-                       parsFile = randomtree + ".rd_parsimony";
-                       parsFileout = globaldata->getTreeFile() + "temp" + ".rd_parsimony";
+                       parsFile = randomtree;
+                       parsFileout = globaldata->getTreeFile() + "temp";
                }
                
                //set users groups to analyze