From: pschloss Date: Thu, 29 Jul 2010 06:06:22 +0000 (+0000) Subject: another pds fix to sffinfo X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=commitdiff_plain;h=cd4c86f68cb53017f0f98a82dd2c2e56a64c67bd another pds fix to sffinfo --- diff --git a/sffinfocommand.cpp b/sffinfocommand.cpp index bbfcfd4..7511a2e 100644 --- a/sffinfocommand.cpp +++ b/sffinfocommand.cpp @@ -410,7 +410,7 @@ int SffInfoCommand::readHeader(ifstream& in, Header& header){ char buffer5 [2]; in.read(buffer5, 2); header.clipQualRight = be_int2(*(unsigned short *)(&buffer5)); - if(header.clipQualRight == 0){ header.clipQualRight = numBases; } + if(header.clipQualRight == 0){ header.clipQualRight = header.numBases; } //read clipAdapterLeft char buffer6 [2];