Esempio n. 1
0
        public void TestGetScanInfo(string mzXmlFileName, int expectedScanCount, int scanStart, int scanEnd, int expectedMS1, int expectedMS2)
        {
            // Keys in this dictionary are the scan number whose metadata is being retrieved
            var expectedScanInfo = MSDataFileReaderTests.GetExpectedMzXmlScanInfo(mzXmlFileName);

            var dataFile = FindInputFile(mzXmlFileName);

            var reader = new MzXMLFileAccessor();

            reader.OpenFile(dataFile.FullName);

            MSDataFileReaderTests.ValidateScanInfo(reader, expectedScanCount, scanStart, scanEnd, expectedMS1, expectedMS2, expectedScanInfo);
        }
Esempio n. 2
0
 private FileInfo FindInputFile(string mzXmlFileName)
 {
     return(MSDataFileReaderTests.FindInputFile(mzXmlFileName));
 }