]> git.donarmstrong.com Git - mothur.git/blobdiff - treemap.cpp
fixed bug in cluster.split
[mothur.git] / treemap.cpp
index cd046f9dced6bbbe33c0d611d603217e28884d7c..dcef7f7c19174f1aaf6a1435931c9005f986f638 100644 (file)
@@ -26,10 +26,10 @@ void TreeMap::readMap() {
                while(fileHandle){
                        fileHandle >> seqName;                  //read from first column
                        fileHandle >> seqGroup;                 //read from second column
-                       
+
                        namesOfSeqs.push_back(seqName);
                        setNamesOfGroups(seqGroup);
-                                               
+                                       
                        treemap[seqName].groupname = seqGroup;  //store data in map
                        
                        it2 = seqsPerGroup.find(seqGroup);
@@ -135,7 +135,7 @@ bool TreeMap::isValidGroup(string groupname) {
                return false;
        }
        catch(exception& e) {
-               errorOut(e, "TreeMap", "isValidGroup");
+               m->errorOut(e, "TreeMap", "isValidGroup");
                exit(1);
        }
 }
@@ -149,7 +149,7 @@ void TreeMap::print(ostream& output){
                }
        }
        catch(exception& e) {
-               errorOut(e, "TreeMap", "print");
+               m->errorOut(e, "TreeMap", "print");
                exit(1);
        }
 }
@@ -173,7 +173,7 @@ void TreeMap::makeSim(GroupMap* groupmap) {
                
        }
        catch(exception& e) {
-               errorOut(e, "TreeMap", "makeSim");
+               m->errorOut(e, "TreeMap", "makeSim");
                exit(1);
        }
 }
@@ -199,7 +199,7 @@ void TreeMap::makeSim(ListVector* list) {
                
        }
        catch(exception& e) {
-               errorOut(e, "TreeMap", "makeSim");
+               m->errorOut(e, "TreeMap", "makeSim");
                exit(1);
        }
 }