Skip to content

Commit

Permalink
Remove the trailing segment incidence index in output section IDs.
Browse files Browse the repository at this point in the history
  • Loading branch information
qqndrew committed Aug 15, 2023
1 parent 3fcf463 commit 5e39901
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.ohnlp.medtagger</groupId>
<artifactId>medtagger</artifactId>
<version>1.0.63</version>
<version>1.0.64</version>
<description>The MedTagger biomedical information extraction pipeline</description>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private static List<Object> toRowObjects(
.stream()
.map(s -> {
try {
return Integer.parseInt(s.getId());
return Integer.parseInt(s.getId().split(":")[0]);
} catch (Throwable t) {
return -1;
}
Expand Down

0 comments on commit 5e39901

Please sign in to comment.