]> git.donarmstrong.com Git - mothur.git/blobdiff - prcseqscommand.cpp
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / prcseqscommand.cpp
index 5fa71bef6b3474cc516491044c41729a318d449f..cf93cb796104aa90428e5466546c9839789216f7 100644 (file)
@@ -804,7 +804,7 @@ bool PcrSeqsCommand::readOligos(){
                                        // 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
                                        } 
                                        primers[oligo] = primerCount; primerCount++;