X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedlistvector.cpp;h=0ee2f795cea302bd98a31285b278479f13ef17f3;hb=70491a12902e89b85cfa6b44a7b7fbe066ee2ac1;hp=2cecb5de49d2aca77c33f21b77d584d6c15f893e;hpb=fdfbfe59134dd7dd3e49d90609d129128ba2d370;p=mothur.git 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;