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); }
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; }
private bool Equals(PrositIntensityModel other) { return(string.Equals(Model, other.Model)); }