Skip to content

Commit

Permalink
Fixed definedBy issue and made oio available locally.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrietteharmse committed Nov 6, 2024
1 parent 987d91f commit 7fdbe90
Show file tree
Hide file tree
Showing 3 changed files with 490 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dataload/linker/src/main/java/LinkerPass2.java
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ private static void writeIriMapping(JsonWriter jsonWriter, EntityDefinitionSet d
if(definitions.definingOntologyIds.size() == 1) {

// ...and is only defined in ONE ontology. Therefore that ontology is the canonical defining ontology as far as OLS is concerned
jsonWriter.name(DEFINITION.getText());
jsonWriter.name(DEFINED_BY.getText());
jsonWriter.beginArray();
jsonWriter.value(definitions.definingOntologyIds.iterator().next());
jsonWriter.endArray();
Expand Down
2 changes: 1 addition & 1 deletion testcases/annotation-properties/gitIssue502.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
{
"id": "oio",
"ontology_purl": "https://gist.githubusercontent.com/haideriqbal/4a2b1a9aa81d9fa26cae81e0b0b7730b/raw/527665128b9be9d7d6133f9a796379600151c737/oboInOwl.owl",
"ontology_purl": "./testcases/annotation-properties/oboInOwl.owl",
"base_uri": ["http://www.geneontology.org/formats/oboInOwl#"]
}
]
Expand Down
Loading

0 comments on commit 7fdbe90

Please sign in to comment.