X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=screenseqscommand.cpp;h=29e541319081d5bbd2254923919a03b255a00ca7;hb=67ea6ccd74dbd64828d31b952808255f206364ff;hp=51495506c6e7a3303c6a87d0510a87e44f1810f6;hpb=eb71e28b7b7afd82540f4a8f0bac9429c5b9d713;p=mothur.git diff --git a/screenseqscommand.cpp b/screenseqscommand.cpp index 5149550..29e5413 100644 --- a/screenseqscommand.cpp +++ b/screenseqscommand.cpp @@ -1080,8 +1080,6 @@ int ScreenSeqsCommand::screenNameGroupFile(map badSeqNames){ it = badSeqNames.find(seqName); if(it != badSeqNames.end()){ - badSeqNames.erase(it); - if(namefile != ""){ int start = 0; for(int i=0;i badSeqNames){ } badSeqGroups[seqList.substr(start,seqList.length()-start)] = it->second; } + badSeqNames.erase(it); } else{ goodNameOut << seqName << '\t' << seqList << endl;