X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=trimseqscommand.cpp;h=a9979e7fa831b30cb5301c3d06d39ad0f202c37f;hb=47af4126c6ece121172cd486c1ca7eeb1ccae2de;hp=b5393a3a5ba16caec3b89c1eee6906098e95c6a1;hpb=a105be5e5d5bf89abd2f143bc68a1f6270aeddc7;p=mothur.git diff --git a/trimseqscommand.cpp b/trimseqscommand.cpp index b5393a3..a9979e7 100644 --- a/trimseqscommand.cpp +++ b/trimseqscommand.cpp @@ -893,12 +893,14 @@ void TrimSeqsCommand::getOligos(vector >& fastaFileNames, vector< while(!inOligos.eof()){ - inOligos >> type; m->gobble(inOligos); + inOligos >> type; if(type[0] == '#'){ - while (!inOligos.eof()) { char c = inOligos.get(); if (c == 10 || c == 13){ break; } } // get rest of line if there's any crap there + while (!inOligos.eof()) { char c = inOligos.get(); if (c == 10 || c == 13){ break; } } // get rest of line if there's any crap there + m->gobble(inOligos); } else{ + m->gobble(inOligos); //make type case insensitive for(int i=0;i