X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=readotucommand.cpp;h=9f27057ece85672069c9ebf219c08b459b648efc;hb=154e089bcd37c2c2f773e53ffb88a20170b27037;hp=eeb8cd6e3d910d30e7fde7b6d20947a693d739ed;hpb=58cf1d08fee8c64334979075fa57bcafb035a2ed;p=mothur.git diff --git a/readotucommand.cpp b/readotucommand.cpp index eeb8cd6..9f27057 100644 --- a/readotucommand.cpp +++ b/readotucommand.cpp @@ -14,7 +14,7 @@ ReadOtuCommand::ReadOtuCommand(){ try { globaldata = GlobalData::getInstance(); filename = globaldata->inputFileName; - read = new ReadPhilFile(filename); + read = new ReadOTUFile(filename); if (globaldata->getFormat() == "shared") { //read in group map info. groupMap = new GroupMap(globaldata->getGroupFile()); @@ -43,6 +43,8 @@ int ReadOtuCommand::execute(){ read->read(&*globaldata); if (globaldata->getFormat() == "shared") { groupMap->readMap(); + + //if (globaldata->gGroupmap != NULL) { delete globaldata->gGroupmap; } globaldata->gGroupmap = groupMap; shared = new SharedCommand();