protected override IParallelTaskFileProcessor GetTaskProcessor(string targetDir, string fileName)
        {
            var options = new RawIonStatisticTaskBuilderOptions()
            {
                InputFile            = fileName,
                MinRelativeIntensity = minRelativeIntensity,
                ProductIonPPM        = productIonPPM,
                TargetDirectory      = targetDir,
                MinFrequency         = minFrequency,
            };

            return(new RawIonStatisticTaskBuilder(options));
        }
Ejemplo n.º 2
0
        protected override IFileProcessor GetFileProcessor()
        {
            if (cbCombine.Checked)
            {
                var options = new RawIonStatisticTaskBuilderOptions()
                {
                    MinRelativeIntensity = minRelativeIntensity.Value,
                    ProductIonPPM        = productIonPPM.Value,
                    MinFrequency         = 0.05,
                    TargetDirectory      = GetOriginFile()
                };

                return(new RawIonStatisticMultipleFileBuilder(options, this.rawFiles.FileNames));
            }
            else
            {
                return(new RawIonStatisticMainBuilder(this.rawFiles.FileNames, productIonPPM.Value, minRelativeIntensity.Value, 0.05));
            }
        }
 public PrecursorOffsetStatisticTaskBuilder(RawIonStatisticTaskBuilderOptions options)
 {
     this.options = options;
 }
 public RawIonStatisticTaskBuilder(RawIonStatisticTaskBuilderOptions options)
 {
     this.options = options;
 }
Ejemplo n.º 5
0
 public RawIonStatisticMultipleFileBuilder(RawIonStatisticTaskBuilderOptions options, string[] sourceFiles)
 {
     this.options     = options;
     this.sourceFiles = sourceFiles;
 }