Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
fix individuals is_defining_ontology always false
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Mar 14, 2022
1 parent 388ac3e commit 06d536f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public static LocalizedIndividual fromIndividual(String lang, Individual individ
lt.shortForm = individual.getShortForm();
lt.oboId = individual.getOboId();
lt.annotation = individual.getAnnotationByLang(lang);
lt.isLocal = individual.isLocal();

lt.type = individual.getType().stream().map(
term -> LocalizedTerm.fromTerm(lang, term)).toArray(LocalizedTerm[]::new);
Expand Down

0 comments on commit 06d536f

Please sign in to comment.