]> git.donarmstrong.com Git - mothur.git/blobdiff - sffinfocommand.cpp
another pds fix to sffinfo
[mothur.git] / sffinfocommand.cpp
index bbfcfd4510443de7edc42b7527083a52fc032728..7511a2e613bb08912044ad3c044cf3a6a8f91c40 100644 (file)
@@ -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];