X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sffinfocommand.cpp;h=d7ca230449fbebd3488a512c5fbd25d3159c1156;hb=035f86272c776e1cccaa47021e26782e49cd41e7;hp=2d77d28d367c8c9cf0be0e8b0094817f4adb1ee9;hpb=b866e1519a60681527244036428104ad1cb90c93;p=mothur.git diff --git a/sffinfocommand.cpp b/sffinfocommand.cpp index 2d77d28..d7ca230 100644 --- a/sffinfocommand.cpp +++ b/sffinfocommand.cpp @@ -118,7 +118,7 @@ SffInfoCommand::SffInfoCommand(){ SffInfoCommand::SffInfoCommand(string option) { try { abort = false; calledHelp = false; - hasAccnos = false; + hasAccnos = false; hasOligos = false; split = 1; //allow user to run help @@ -583,7 +583,6 @@ int SffInfoCommand::extractSffInfo(string input, string accnos, string oligos){ //create new common headers for each file with the correct number of reads adjustCommonHeader(header); - map uniqueSffNames;// so we don't add the same sff multiple times map::iterator it; set namesToRemove; for(int i=0;imothurRemove(filehandles[i][j]); m->mothurRemove(filehandlesHeaders[i][j]); namesToRemove.insert(filehandles[i][j]); - }else{ - it = uniqueSffNames.find(filehandles[i][j]); - if (it == uniqueSffNames.end()) { - uniqueSffNames[filehandles[i][j]] = barcodeNameVector[i]; - } - } + } } } }