]> git.donarmstrong.com Git - mothur.git/commitdiff
another pds fix to sffinfo
authorpschloss <pschloss>
Thu, 29 Jul 2010 06:06:22 +0000 (06:06 +0000)
committerpschloss <pschloss>
Thu, 29 Jul 2010 06:06:22 +0000 (06:06 +0000)
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];