]> git.donarmstrong.com Git - mothur.git/blobdiff - screenseqscommand.cpp
changes while testing
[mothur.git] / screenseqscommand.cpp
index e7b2c6acedf523f8249c8159ed186a6b8d5b8892..e40c41218f5a599d894e0b2cb52f54406635f9ee 100644 (file)
@@ -2177,19 +2177,18 @@ int ScreenSeqsCommand::screenCountFile(map<string, string> badSeqNames){
                        if (m->control_pressed) { goodCountOut.close(); in.close(); m->mothurRemove(goodCountFile); return 0; }
             
                        in >> name; m->gobble(in); 
-            in >> thisTotal; m->gobble(in);
+            in >> thisTotal; 
             rest = m->getline(in); m->gobble(in);
             
                        it = badSeqNames.find(name);
                        
                        if(it != badSeqNames.end()){
-                               badSeqNames.erase(it);
+                               badSeqNames.erase(it); 
                        }
                        else{
                                goodCountOut << name << '\t' << thisTotal << '\t' << rest << endl;
                        }
                }
-               
                if (m->control_pressed) { goodCountOut.close();  in.close(); m->mothurRemove(goodCountFile);  return 0; }
         
                //we were unable to remove some of the bad sequences