Skip to content

Commit

Permalink
Remove unused code block
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaris committed Oct 30, 2023
1 parent 7d47af0 commit 331363d
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions mira/dkg/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,16 +545,6 @@ def _generate_template_model_delta(
template_model1: TemplateModel,
template_model2: TemplateModel,
) -> TemplateModelDelta:
# def _is_ontological_child(child_curie: str, parent_curie: str) -> bool:
# res = request.app.state.client.query_relations(
# source_curie=child_curie,
# relation_type=DKG_REFINER_RELS,
# target_curie=parent_curie,
# )
# # res is a list of lists, so check that there is at least one
# # element in the outer list and that the first element/list contains
# # something
# return len(res) > 0 and len(res[0]) > 0
tmd = TemplateModelDelta(
template_model1=template_model1,
template_model2=template_model2,
Expand Down

0 comments on commit 331363d

Please sign in to comment.