]> git.donarmstrong.com Git - mothur.git/blobdiff - mothurout.cpp
paralellized chimera.uchime for windows for both by group and with a template.
[mothur.git] / mothurout.cpp
index 1920221fd8c64a0c98e21c8ba71c19e7e49e906b..90d6f37434d7cb4df231817be6d1759df80b45bb 100644 (file)
@@ -434,7 +434,7 @@ void MothurOut::gobble(istream& f){
                
                char d;
                while(isspace(d=f.get()))               { ;}
-               f.putback(d);
+               if(!f.eof()) { f.putback(d); }
        }
        catch(exception& e) {
                errorOut(e, "MothurOut", "gobble");
@@ -446,7 +446,7 @@ void MothurOut::gobble(istringstream& f){
        try {
                char d;
                while(isspace(d=f.get()))               {;}
-               f.putback(d);
+               if(!f.eof()) { f.putback(d); }
        }
        catch(exception& e) {
                errorOut(e, "MothurOut", "gobble");