Skip to content

Commit

Permalink
hack: to remove, extract uuid from URIs
Browse files Browse the repository at this point in the history
  • Loading branch information
fgravin committed Sep 8, 2021
1 parent c42d4ca commit 4fc5872
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public HarvestResult harvest(Logger log) throws Exception {

nodes.forEach(record -> {
Element xml = convertRecordToXml(record);
uuids.put(record.get(params.recordIdPath).asText(), xml);
uuids.put(record.get(params.recordIdPath).asText().split("/datasets/")[1], xml);
});
aligner.align(uuids, errors);
allUuids.putAll(uuids);
Expand Down

0 comments on commit 4fc5872

Please sign in to comment.