Skip to content

Commit 01949a4

Browse files
committed
[hotfix] typo - start and end of PTM pattern
1 parent bfe3e8d commit 01949a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/progistar/pXg/data/parser/pXgParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public int compare (String s1, String s2) {
244244
ArrayList<Integer> ptmEnds = new ArrayList<Integer>();
245245
while(matcher.find()) {
246246
ptmStarts.add(matcher.regionStart()); // inclusive
247-
ptmEnds.add(matcher.regionStart()); // exclusive
247+
ptmEnds.add(matcher.regionEnd()); // exclusive
248248
}
249249

250250

0 commit comments

Comments
 (0)