CSMSL.IO.MzTab.MzTabMetaData.AddMsRun C# (CSharp) Method

AddMsRun() public method

public AddMsRun ( string filePath ) : string
filePath string
return string
        public string AddMsRun(string filePath)
        {
            if (MsRunLocations == null)
            {
                MsRunLocations = new List<string>();
            }

            MsRunLocations.Add(filePath);

            return MzTab.GetArrayName(Fields.MsRun, MsRunLocations.Count - 1 + MzTab.IndexBased);
        }