Skip to content

Commit

Permalink
OpenTargetsDiseaseOntologyParser no longer skips top level TA's
Browse files Browse the repository at this point in the history
  • Loading branch information
RichJackson committed Jun 25, 2024
1 parent d688d71 commit 52201d3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kazu/ontology_preprocessing/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,6 @@ def json_dict_to_parser_records(
for json_dict in jsons_gen:
default_label: str = json_dict["name"]

# skip top level therapeutic areas
if json_dict.get("ontology", {}).get("isTherapeuticArea"):
continue

if set(json_dict.get("therapeuticAreas", ())).isdisjoint(
self.allowed_therapeutic_areas
):
Expand Down

0 comments on commit 52201d3

Please sign in to comment.