From: <ds...@us...> - 2011-09-23 23:24:20
|
Revision: 5512 http://sashimi.svn.sourceforge.net/sashimi/?rev=5512&view=rev Author: dshteyn Date: 2011-09-23 23:24:14 +0000 (Fri, 23 Sep 2011) Log Message: ----------- support for Agilent QTOF mzML Modified Paths: -------------- branches/4-5/trans_proteomic_pipeline/src/Parsers/mzParser/saxmzmlhandler.cpp Modified: branches/4-5/trans_proteomic_pipeline/src/Parsers/mzParser/saxmzmlhandler.cpp =================================================================== --- branches/4-5/trans_proteomic_pipeline/src/Parsers/mzParser/saxmzmlhandler.cpp 2011-09-23 23:20:07 UTC (rev 5511) +++ branches/4-5/trans_proteomic_pipeline/src/Parsers/mzParser/saxmzmlhandler.cpp 2011-09-23 23:24:14 UTC (rev 5512) @@ -276,9 +276,16 @@ } else if(!strcmp(name,"LTQ Velos") || !strcmp(accession,"MS:1000855")) { m_instrument.model=name; - } else if(!strcmp(name, "lowest observed m/z") || !strcmp(accession,"MS:1000528")) { + } else if(!strcmp(name, "lowest observed m/z") || !strcmp(accession,"MS:1000528")) { spec->setLowMZ(atof(value)); + } else if(!strcmp(name, "scan window lower limit") || !strcmp(accession,"MS:1000501")) { + //TODO: should we also check the units??? + spec->setLowMZ(atof(value)); + } else if(!strcmp(name, "scan window upper limit") || !strcmp(accession,"MS:1000500")) { + //TODO: should we also check the units??? + pec->setHighMZ(atof(value)); + } else if( !strcmp(name, "MS1 spectrum") || !strcmp(accession,"MS:1000579") ){ spec->setMSLevel(1); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |