public void test2()
        {
            string testFile = @"D:\Data\UIMF\Problem_datasets\FPGA\QCSHEW_FPGA_99min_0003.UIMF";

            RunFactory rf  = new RunFactory();
            UIMFRun    run = (UIMFRun)rf.CreateRun(testFile);

            UIMFRunTester tester = new UIMFRunTester();

            tester.DisplayBasicRunInfo(run);

            //UIMFLibrary.DataReader dr = new UIMFLibrary.DataReader();
            //dr.OpenUIMF(testFile);
            tester.DisplayFrameParameters(run, run.MinLCScan, run.MaxLCScan);
        }
예제 #2
0
        public void test_usingStandardFile()
        {
            RunFactory runfactory = new RunFactory();

            UIMFRun run = (UIMFRun)runfactory.CreateRun(standardFile);

            UIMFRunTester tester = new UIMFRunTester();

            int startScan = run.MinLCScan;
            int stopScan  = run.MaxLCScan;

            int startFrame = 1;
            int stopFrame  = 10;


            tester.DisplayBasicRunInfo(run);
            tester.GenerateMassSpectraForRanges(run, startFrame, stopFrame, startScan, stopScan);
        }
예제 #3
0
        public void displayFrameInfo()
        {
            RunFactory runfactory = new RunFactory();

            UIMFRun run = (UIMFRun)runfactory.CreateRun(testFile);

            UIMFRunTester tester = new UIMFRunTester();

            int startScan = run.MinLCScan;
            int stopScan  = run.MaxLCScan;

            int startFrame = 1;
            int stopFrame  = 7;


            tester.DisplayBasicRunInfo(run);

            tester.DisplayFrameParameters(run, startFrame, stopFrame);
        }
예제 #4
0
        public void isolatedProblem_Test1()
        {
            RunFactory runfactory = new RunFactory();

            UIMFRun run = (UIMFRun)runfactory.CreateRun(testFile);

            UIMFRunTester tester = new UIMFRunTester();

            int startScan = 283;
            int stopScan  = 286;

            int startFrame = 6;
            int stopFrame  = 6;


            tester.DisplayBasicRunInfo(run);
            tester.GenerateMassSpectraForRanges(run, startFrame, stopFrame, startScan, stopScan);

            // tester.DisplayFrameParameters(run, startFrame, stopFrame);
        }
예제 #5
0
        public void getMassSpectra()
        {
            RunFactory runfactory = new RunFactory();

            UIMFRun run = (UIMFRun)runfactory.CreateRun(testFile);

            UIMFRunTester tester = new UIMFRunTester();

            int startScan = run.MinLCScan;
            int stopScan  = run.MaxLCScan;

            int startFrame = 6;
            int stopFrame  = 6;


            tester.DisplayBasicRunInfo(run);
            tester.GenerateMassSpectraForRanges(run, startFrame, stopFrame, startScan, stopScan);

            // tester.DisplayFrameParameters(run, startFrame, stopFrame);
        }
예제 #6
0
        public void reopenedRedmineIssue_test1()
        {
            string problemFile = @"\\proto-10\IMS_TOF_3\2010_4\okd_urine_S15_19Nov10_Cheetah_10-08-06_0000\okd_urine_S15_19Nov10_Cheetah_10-08-06_0000.UIMF";

            RunFactory runfactory = new RunFactory();

            UIMFRun run = (UIMFRun)runfactory.CreateRun(problemFile);

            UIMFRunTester tester = new UIMFRunTester();

            int startScan = run.MinLCScan;
            int stopScan  = run.MaxLCScan;

            int startFrame = 0;
            int stopFrame  = 9;


            tester.DisplayBasicRunInfo(run);
            tester.GenerateMassSpectraForRanges(run, startFrame, stopFrame, startScan, stopScan);

            //Getting error:
            //1	0	FAILED.     Specified argument was out of the range of valid values.
            // Parameter name: ERROR in SumScansNonCached: frame_index 1 is not in range; should be >= 0 and < 0
        }