예제 #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)));
 }
예제 #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)));
 }
예제 #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)));
 }