X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=sharedlistvector.cpp;h=0ee2f795cea302bd98a31285b278479f13ef17f3;hp=2cecb5de49d2aca77c33f21b77d584d6c15f893e;hb=df7e3ff9f68ef157b0328a2d353c3258c5d45d89;hpb=d70a1c2d70c5a516e74880709e3b48cfc1ce0321 diff --git a/sharedlistvector.cpp b/sharedlistvector.cpp index 2cecb5d..0ee2f79 100644 --- a/sharedlistvector.cpp +++ b/sharedlistvector.cpp @@ -25,13 +25,14 @@ SharedListVector::SharedListVector(int n): DataVector(), data(n, "") , maxRank(0 /***********************************************************************/ SharedListVector::SharedListVector(ifstream& f) : DataVector(), maxRank(0), numBins(0), numSeqs(0) { try { + groupmap = NULL; countTable = NULL; //set up groupmap for later. if (m->groupMode == "group") { groupmap = new GroupMap(m->getGroupFile()); groupmap->readMap(); }else { countTable = new CountTable(); - countTable->readTable(m->getCountTableFile()); + countTable->readTable(m->getCountTableFile(), true); } int hold;