From cd4c86f68cb53017f0f98a82dd2c2e56a64c67bd Mon Sep 17 00:00:00 2001 From: pschloss Date: Thu, 29 Jul 2010 06:06:22 +0000 Subject: [PATCH] another pds fix to sffinfo --- sffinfocommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.39.2