Exemple #1
0
 public static string GetName(MsDataFileUri msDataFilePath)
 {
     return(msDataFilePath.GetFileName());
 }
Exemple #2
0
 public IEnumerable <DbSpectrum> GetSpectraByFile(MsDataFileUri file)
 {
     return(IsLoaded
         ? _spectra.Where(kvp => file == null || Equals(kvp.Key.FileName, file.GetFileName())).SelectMany(kvp => kvp.Value)
         : new DbSpectrum[0]);
 }