diff --git a/kazu/ontology_preprocessing/parsers.py b/kazu/ontology_preprocessing/parsers.py index ab2d82c3..3f8b0ec6 100644 --- a/kazu/ontology_preprocessing/parsers.py +++ b/kazu/ontology_preprocessing/parsers.py @@ -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 ):