]> git.donarmstrong.com Git - mothur.git/blobdiff - sffinfocommand.cpp
added end of file character to some type type reads. fixes while testing.
[mothur.git] / sffinfocommand.cpp
index 0148ab19f407b91d293eebb547927d4c381fd6d0..911009982a3ed7a3e5da2845094a82b1338b74a3 100644 (file)
@@ -1656,7 +1656,7 @@ bool SffInfoCommand::readOligos(string oligoFile){
                                        // get rest of line in case there is a primer name
                                        while (!inOligos.eof()) {       
                                                char c = inOligos.get(); 
-                                               if (c == 10 || c == 13){        break;  }
+                                               if (c == 10 || c == 13 || c == -1){     break;  }
                                                else if (c == 32 || c == 9){;} //space or tab
                                                else {  group += c;  }
                                        }