Skip to content

Commit

Permalink
capitalization convention
Browse files Browse the repository at this point in the history
  • Loading branch information
trishorts committed Nov 7, 2023
1 parent c610791 commit 5e09c14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions mzLib/Proteomics/PSM/PsmFromTsv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public PsmFromTsv(string line, char[] split, Dictionary<string, int> 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
Expand Down Expand Up @@ -546,7 +546,7 @@ private static Dictionary<int, List<MatchedFragmentIon>> 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<MatchedFragmentIon> findVariantCrossingIons()
private List<MatchedFragmentIon> FindVariantCrossingIons()
{
List<MatchedFragmentIon> variantCrossingIons = new List<MatchedFragmentIon>();

Expand Down
2 changes: 1 addition & 1 deletion mzLib/Test/TestPsmFromTsv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void ReadVariantPsms()
{
string psmFile = @"TestData\VariantCrossTest.psmtsv";
List<PsmFromTsv> parsedPsms = PsmTsvReader.ReadTsv(psmFile, out var warnings);
Assert.AreEqual(5, parsedPsms.Count);
Assert.AreEqual(15, parsedPsms.Count);
}

[Test]
Expand Down

0 comments on commit 5e09c14

Please sign in to comment.