Skip to content
Snippets Groups Projects
Commit f6e610fd authored by Langella Olivier's avatar Langella Olivier
Browse files

fix nter flanking region

parent 18eb0327
No related branches found
No related tags found
No related merge requests found
......@@ -818,7 +818,7 @@ ProteinMatch::getFlankingNterRegion(const PeptideMatch &peptide_match,
int start = peptide_match.getStart() - length;
if(start < 0)
{
length = length - start;
length = length + start;
start = 0;
}
if(length < 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment