Skip to content

Commit 491e0a3

Browse files
author
stefanks
committed
fixup
1 parent 7fc0821 commit 491e0a3

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

EngineLayer/Analysis/AnalysisEngine.cs

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using MassSpectrometry;
22
using MzLibUtil;
33
using Proteomics;
4-
using Spectra;
54
using System;
65
using System.Collections.Concurrent;
76
using System.Collections.Generic;
@@ -490,8 +489,6 @@ public void ScoreProteinGroups(List<ProteinGroup> proteinGroups, List<NewPsmWith
490489
// var sortedProteinGroups =
491490
proteinGroup.StrictRazorPeptideList.Add(peptide);
492491
}
493-
494-
495492
}
496493

497494
// calculate sequence coverage for each protein in the group
@@ -664,15 +661,15 @@ private static void IdentifyMods(BinTreeStructure myTreeStructure)
664661
for (int i = 0; i < hehe.Item2.Count(); i++)
665662
{
666663
char ye = hehe.Item2[i];
667-
if (ye.Equals('('))
664+
if (ye.Equals('['))
668665
{
669666
inModLevel++;
670667
if (inModLevel == 1)
671668
{
672669
continue;
673670
}
674671
}
675-
else if (ye.Equals(')'))
672+
else if (ye.Equals(']'))
676673
{
677674
inModLevel--;
678675
if (inModLevel == 0)

0 commit comments

Comments
 (0)