X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sharedcommand.cpp;h=0cc1e22f2d9067fb7fcad21b6cff5c456f5e7049;hb=4761e165b4a196fefa57755d3176d9ced19df6b1;hp=6c4c8ac9afbda821c545ab3a48d60a993e290620;hpb=fd282e6b4be2560f5b1bd154a9e8d24b798eefaf;p=mothur.git diff --git a/sharedcommand.cpp b/sharedcommand.cpp index 6c4c8ac..0cc1e22 100644 --- a/sharedcommand.cpp +++ b/sharedcommand.cpp @@ -41,13 +41,13 @@ int SharedCommand::execute(){ read = new ReadPhilFile(globaldata->inputFileName); read->read(&*globaldata); input = globaldata->ginput; - list = globaldata->glist; + SharedList = globaldata->gSharedList; shared = new Shared(); int i = 0; - while(list != NULL){ - shared->getSharedVectors(i, list); //fills sharedGroups with new info and updates sharedVector - list = input->getListVector(); //get new list vector to process + while(SharedList != NULL){ + shared->getSharedVectors(i, SharedList); //fills sharedGroups with new info and updates sharedVector + SharedList = input->getSharedListVector(); //get new list vector to process printSharedData(); //prints info to the .shared file i++; }