]> git.donarmstrong.com Git - mothur.git/blobdiff - getseqscommand.cpp
modifications to commands to add headers to list file.
[mothur.git] / getseqscommand.cpp
index 44c4042073636f1c3419075dfcacea8bdd4f72e9..a1cf493f9e515f91ed962726b392426db9efd978 100644 (file)
@@ -737,8 +737,8 @@ int GetSeqsCommand::readList(){
                 m->splitAtComma(binnames, bnames);
                                
                                string newNames = "";
-                for (int i = 0; i < bnames.size(); i++) {
-                                       string name = bnames[i];
+                for (int j = 0; j < bnames.size(); j++) {
+                                       string name = bnames[j];
                                        //if that name is in the .accnos file, add it
                                        if (names.count(name) != 0) {  newNames += name + ",";  selectedCount++; if (m->debug) { sanity["list"].insert(name); } }
                                }