//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);
+
}
}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