public ChromotographBuilder(IEnumerable <IIdentifiedSpectrum> targetPeaks, IEnumerable <string> rawFiles, double ppmTolerance, bool force) { this.ppmTolerance = ppmTolerance; this.force = force; this.spectra = targetPeaks.GroupBy(m => m.Query.FileScan.Experimental.ToLower()).ToList(); this.rawFiles = RawFileFactory.GetExperimentalMap(rawFiles).ToDictionary(m => m.Key.ToLower(), m => m.Value); }