Skip to content

Commit

Permalink
Refer to refinement closure object in model composition
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Oct 4, 2024
1 parent 1de53f2 commit 6e8ec45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mira/metamodel/composition.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from copy import deepcopy
import sympy

from .comparison import TemplateModelComparison, get_dkg_refinement_closure
from .comparison import TemplateModelComparison, default_dkg_refinement_closure
from .template_model import Annotations, TemplateModel


Expand Down Expand Up @@ -59,7 +59,7 @@ def compose_two_models(tm0, tm1):
The composed template model
"""
model_list = [tm0, tm1]
rf_func = get_dkg_refinement_closure().is_ontological_child
rf_func = default_dkg_refinement_closure.is_ontological_child
compare = TemplateModelComparison(model_list,
refinement_func=rf_func)
compare_graph = compare.model_comparison
Expand Down

0 comments on commit 6e8ec45

Please sign in to comment.