From: <ds...@us...> - 2011-08-17 22:55:29
|
Revision: 5490 http://sashimi.svn.sourceforge.net/sashimi/?rev=5490&view=rev Author: dshteyn Date: 2011-08-17 22:55:23 +0000 (Wed, 17 Aug 2011) Log Message: ----------- PeptideProphetParser: update to correct problem with latest version of Myrimatch which removed some scores in the reports. Modified Paths: -------------- trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.cxx trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.h Modified: trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.cxx =================================================================== --- trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.cxx 2011-08-17 19:17:09 UTC (rev 5489) +++ trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.cxx 2011-08-17 22:55:23 UTC (rev 5490) @@ -44,7 +44,7 @@ if(processed_) { //cout << "processed" << endl; - const int num_nec_fields = 3; + const int num_nec_fields = 1; Boolean found[num_nec_fields]; int k; for(k = 0; k < num_nec_fields; k++) @@ -59,14 +59,14 @@ mvh_ = (double) atof(tag->getAttributeValue("value")); found[0] = True; } - else if(!found[1] && ! strcmp(tag->getAttributeValue("name"), "massError")) { - massError_ = (double) atof(tag->getAttributeValue("value")); - found[1] = True; - } - else if(!found[2] && ! strcmp(tag->getAttributeValue("name"), "mzSSE")) { - mzSSE_ = (double) atof(tag->getAttributeValue("value")); - found[2] = True; - } + // else if(!found[1] && ! strcmp(tag->getAttributeValue("name"), "massError")) { + // massError_ = (double) atof(tag->getAttributeValue("value")); + // found[1] = True; + //} + //else if(!found[2] && ! strcmp(tag->getAttributeValue("name"), "mzSSE")) { + // mzSSE_ = (double) atof(tag->getAttributeValue("value")); + // found[2] = True; + //} } Modified: trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.h =================================================================== --- trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.h 2011-08-17 19:17:09 UTC (rev 5489) +++ trunk/trans_proteomic_pipeline/src/Parsers/Algorithm2XML/SearchResult/MyrimatchResult.h 2011-08-17 22:55:23 UTC (rev 5490) @@ -52,8 +52,8 @@ double mvh_; - double massError_; - double mzSSE_; + // double massError_; + //double mzSSE_; protected: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |