]> git.donarmstrong.com Git - mothur.git/blobdiff - treemap.cpp
removed read.dist, read.otu, read.tree and globaldata. added current to defaults...
[mothur.git] / treemap.cpp
index 52a90031d380fedddd275bd5ebbb6a3f8600964c..75423855a7f583ae5ce62fc10118cf260589df6b 100644 (file)
@@ -170,13 +170,13 @@ void TreeMap::print(ostream& output){
 }
 
 /************************************************************/
-void TreeMap::makeSim(GroupMap* groupmap) {
+void TreeMap::makeSim(vector<string> ThisnamesOfGroups) {
        try {
                //set names of groups
-               namesOfGroups = groupmap->namesOfGroups;
+               namesOfGroups = ThisnamesOfGroups;
                
                //set names of seqs to names of groups
-               namesOfSeqs = groupmap->namesOfGroups;
+               namesOfSeqs = ThisnamesOfGroups;
                
                // make map where key and value are both the group name since that what the tree.shared command wants
                for (int i = 0; i < namesOfGroups.size(); i++) {