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))); }
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))); }
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))); }