private IList <KeyValuePair <PeptideFileAnalysis, double> > ListScores() { return(PeptideAnalysis.GetFileAnalyses(true) .Select(peptideFileAnalysis => new KeyValuePair <PeptideFileAnalysis, double?>(peptideFileAnalysis, peptideFileAnalysis.PeakData.DeconvolutionScore)) .Where(kvp => kvp.Value.HasValue) .Select(kvp => new KeyValuePair <PeptideFileAnalysis, double>(kvp.Key, kvp.Value.GetValueOrDefault())) .ToArray()); }
protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); foreach (PeptideFileAnalysis peptideFileAnalysis in PeptideAnalysis.GetFileAnalyses()) { UpdateRow(AddRow(peptideFileAnalysis)); } OnPeptideAnalysisChanged(); }
protected override void OnHandleCreated(EventArgs e) { base.OnHandleCreated(e); foreach (PeptideFileAnalysis peptideFileAnalysis in PeptideAnalysis.GetFileAnalyses(false)) { UpdateRow(AddRow(peptideFileAnalysis)); } OnPeptideAnalysisChanged(); InitializeOriginalMinMaxCharge(); }