diff --git a/mzLib/Proteomics/PSM/PsmFromTsv.cs b/mzLib/Proteomics/PSM/PsmFromTsv.cs index aaab3fed5..9abaeab88 100644 --- a/mzLib/Proteomics/PSM/PsmFromTsv.cs +++ b/mzLib/Proteomics/PSM/PsmFromTsv.cs @@ -158,7 +158,7 @@ public PsmFromTsv(string line, char[] split, Dictionary parsedHeade RetentionTime = (parsedHeader[PsmTsvHeader.Ms2ScanRetentionTime] < 0) ? null : (double?)double.Parse(spl[parsedHeader[PsmTsvHeader.Ms2ScanRetentionTime]].Trim(), CultureInfo.InvariantCulture); PEP = double.Parse(spl[parsedHeader[PsmTsvHeader.PEP]].Trim(), CultureInfo.InvariantCulture); PEP_QValue = double.Parse(spl[parsedHeader[PsmTsvHeader.PEP_QValue]].Trim(), CultureInfo.InvariantCulture); - VariantCrossingIons = findVariantCrossingIons(); + VariantCrossingIons = FindVariantCrossingIons(); SpectralAngle = (parsedHeader[PsmTsvHeader.SpectralAngle] < 0) ? null : (double?)double.Parse(spl[parsedHeader[PsmTsvHeader.SpectralAngle]].Trim(), CultureInfo.InvariantCulture); //For crosslinks @@ -546,7 +546,7 @@ private static Dictionary> ReadChildScanMatchedIon // finds the ions that contain variant residues using the position in IdentifiedSequenceVariations. When the variation spans // multiple residues, if any part is contained in an ion, the ion is marked as variant crossing. - private List findVariantCrossingIons() + private List FindVariantCrossingIons() { List variantCrossingIons = new List(); diff --git a/mzLib/Test/TestPsmFromTsv.cs b/mzLib/Test/TestPsmFromTsv.cs index ac4c9536c..21ca33941 100644 --- a/mzLib/Test/TestPsmFromTsv.cs +++ b/mzLib/Test/TestPsmFromTsv.cs @@ -36,7 +36,7 @@ public static void ReadVariantPsms() { string psmFile = @"TestData\VariantCrossTest.psmtsv"; List parsedPsms = PsmTsvReader.ReadTsv(psmFile, out var warnings); - Assert.AreEqual(5, parsedPsms.Count); + Assert.AreEqual(15, parsedPsms.Count); } [Test]