From 758b2db88e754842264454e7129d2e622fd0809c Mon Sep 17 00:00:00 2001 From: James McLaughlin Date: Fri, 8 Nov 2024 01:35:12 +0000 Subject: [PATCH] skip json values when using defining ontology curie --- dataload/linker/src/main/java/LinkerPass2.java | 1 + 1 file changed, 1 insertion(+) diff --git a/dataload/linker/src/main/java/LinkerPass2.java b/dataload/linker/src/main/java/LinkerPass2.java index 6c2878ed..698e1f56 100644 --- a/dataload/linker/src/main/java/LinkerPass2.java +++ b/dataload/linker/src/main/java/LinkerPass2.java @@ -169,6 +169,7 @@ private static void writeEntityArray(JsonReader jsonReader, JsonWriter jsonWrite if(name == "curie") { if(curie != null) { // use the defining ontology curie + jsonReader.skipValue(); jsonWriter.value(curie); } else { // fallthrough to using the curie from rdf2json