]> git.donarmstrong.com Git - mothur.git/blobdiff - sffmultiplecommand.cpp
sffinfo bug with flow grams right index when clipQualRight=0
[mothur.git] / sffmultiplecommand.cpp
index 91d8b0152bf1db087f8243fc80e8c39b8dac57b9..b6894b48fd1371cb1b963e5a0e1714dc6cdf24b8 100644 (file)
@@ -435,7 +435,7 @@ int SffMultipleCommand::readFile(vector<string>& sffFiles, vector<string>& oligo
                 // get rest of line in case there is a oligos filename
                 while (!in.eof())      {       
                     char c = in.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 {     oligos += c;  }
                 }