Exemplo n.º 1
0
 public static MsDataFilePath ParseUri(string url)
 {
     return(new MsDataFilePath(SampleHelp.GetPathFilePart(url),
                               SampleHelp.GetPathSampleNamePart(url),
                               SampleHelp.GetPathSampleIndexPart(url),
                               SampleHelp.GetLockmassParameters(url),
                               SampleHelp.GetCentroidMs1(url),
                               SampleHelp.GetCentroidMs2(url),
                               SampleHelp.GetCombineIonMobilitySpectra(url)));
 }
Exemplo n.º 2
0
 public static MsDataFileUri Parse(string url)
 {
     if (url.StartsWith(ChorusUrl.ChorusUrlPrefix))
     {
         return(new ChorusUrl(url));
     }
     return(new MsDataFilePath(SampleHelp.GetPathFilePart(url),
                               SampleHelp.GetPathSampleNamePart(url),
                               SampleHelp.GetPathSampleIndexPart(url),
                               SampleHelp.GetLockmassParameters(url),
                               SampleHelp.GetCentroidMs1(url),
                               SampleHelp.GetCentroidMs2(url)));
 }
Exemplo n.º 3
0
 public static MsDataFileUri Parse(string url)
 {
     if (url.StartsWith(UnifiUrl.UrlPrefix))
     {
         return(new UnifiUrl(url));
     }
     return(new MsDataFilePath(SampleHelp.GetPathFilePart(url),
                               SampleHelp.GetPathSampleNamePart(url),
                               SampleHelp.GetPathSampleIndexPart(url),
                               SampleHelp.GetLockmassParameters(url),
                               SampleHelp.GetCentroidMs1(url),
                               SampleHelp.GetCentroidMs2(url),
                               SampleHelp.GetCombineIonMobilitySpectra(url)));
 }