- while(list != NULL){
- shared->getSharedVectors(i, list); //fills sharedGroups with new info and updates sharedVector
- list = input->getListVector(); //get new list vector to process
- printSharedData(); //prints info to the .shared file
+ while(SharedList != NULL){
+
+ if(globaldata->allLines == 1 || globaldata->lines.count(i+1) == 1 || globaldata->labels.count(SharedList->getLabel()) == 1){
+
+ shared->getSharedVectors(i, SharedList); //fills sharedGroups with new info and updates sharedVector
+ printSharedData(); //prints info to the .shared file
+ }
+
+ SharedList = input->getSharedListVector(); //get new list vector to process