Пример #1
0
        public static PrositIntensityModel GetInstance(string model)
        {
            var intensityModel = _instances.FirstOrDefault(p => p.Model == model);

            if (intensityModel == null)
            {
                _instances.Add(intensityModel = new PrositIntensityModel(model));
            }

            return(intensityModel);
        }
Пример #2
0
 public PrositRequest(PrositPredictionClient client, PrositIntensityModel intensityModel,
                      PrositRetentionTimeModel rtModel, SrmSettings settings,
                      PeptideDocNode peptide, TransitionGroupDocNode precursor, int nce, Action updateCallback)
 {
     Client          = client;
     IntensityModel  = intensityModel;
     RTModel         = rtModel;
     Settings        = settings;
     Precursor       = precursor;
     Peptide         = peptide;
     NCE             = nce;
     _updateCallback = updateCallback;
 }
Пример #3
0
 private bool Equals(PrositIntensityModel other)
 {
     return(string.Equals(Model, other.Model));
 }