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());
if (globaldata->getFormat() == "shared") {
groupMap->readMap();
- if (globaldata->gGroupmap != NULL) { delete globaldata->gGroupmap; }
- globaldata->gGroupmap = groupMap;
-
+ //if (globaldata->gGroupmap != NULL) { delete globaldata->gGroupmap; }
+ globaldata->gGroupmap = groupMap;
shared = new SharedCommand();
shared->execute();
+
parselist = new ParseListCommand();
parselist->execute();
+
+ //change format to shared to speed up commands
+ globaldata->setFormat("sharedfile");
+ globaldata->setListFile("");
+ globaldata->setGroupFile("");
+ globaldata->setSharedFile(getRootName(filename) + "shared");
}
return 0;
}