From: <hen...@us...> - 2009-07-17 03:43:23
|
Revision: 4474 http://sashimi.svn.sourceforge.net/sashimi/?rev=4474&view=rev Author: henrylam Date: 2009-07-17 03:43:16 +0000 (Fri, 17 Jul 2009) Log Message: ----------- [MzXML2Search] Fix bug - user-specified charge range is mishandled Modified Paths: -------------- trunk/trans_proteomic_pipeline/src/Parsers/MzXML2Search/MzXML2Search.cxx Modified: trunk/trans_proteomic_pipeline/src/Parsers/MzXML2Search/MzXML2Search.cxx =================================================================== --- trunk/trans_proteomic_pipeline/src/Parsers/MzXML2Search/MzXML2Search.cxx 2009-07-16 23:48:40 UTC (rev 4473) +++ trunk/trans_proteomic_pipeline/src/Parsers/MzXML2Search/MzXML2Search.cxx 2009-07-17 03:43:16 UTC (rev 4474) @@ -451,7 +451,7 @@ printf("error, cannot handle precursor charges > %d (got %d)\n", MAXCHARGES, options.iChargeLast); exit(-1); } - for (int i=options.iChargeLast; i <= options.iCharge; ++i) { + for (int i=options.iCharge; i <= options.iChargeLast; ++i) { userChargeArray[i] = true; } haveUserCharges = true; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |