Skip to content

Commit

Permalink
Merge pull request #341 from ontodev/merge-imports-fix
Browse files Browse the repository at this point in the history
Change to direct imports only for merge (-c false)
  • Loading branch information
jamesaoverton authored Aug 14, 2018
2 parents eef0999 + 992e49c commit e80787c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static void mergeInto(
.addAxioms(targetOntology, ontology.getAxioms(Imports.INCLUDED));
} else {
// Merge the ontologies with imports excluded
Set<OWLOntology> imports = targetOntology.getImports();
Set<OWLOntology> imports = targetOntology.getDirectImports();
try {
OntologyHelper.removeImports(targetOntology);
} catch (Exception e) {
Expand Down

0 comments on commit e80787c

Please sign in to comment.