Skip to content

Commit

Permalink
ignore outlines in withdraw (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
eroux committed Mar 2, 2023
1 parent c845376 commit ef03c57
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ public List<Resource> get_graphs_with_reference_to(final Resource r) {
final List<Resource> res = new ArrayList<>();
while (rs.hasNext()) {
final QuerySolution qs = rs.next();
res.add(qs.getResource("g"));
final Resource resr = qs.getResource("g");
// TODO: hack to ignore outlines at the moment
if (resr.getLocalName().startsWith("O"))
continue;
res.add(resr);
}
return res;
}
Expand Down

0 comments on commit ef03c57

Please sign in to comment.