From 992e49c68c8c8b775b8d79302e19ce0431731a38 Mon Sep 17 00:00:00 2001 From: Rebecca Tauber Date: Tue, 14 Aug 2018 10:07:07 -0600 Subject: [PATCH] Change to direct imports only for merge (-c false) --- .../src/main/java/org/obolibrary/robot/MergeOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot-core/src/main/java/org/obolibrary/robot/MergeOperation.java b/robot-core/src/main/java/org/obolibrary/robot/MergeOperation.java index 9dc5cdd3f..73feaa4d6 100644 --- a/robot-core/src/main/java/org/obolibrary/robot/MergeOperation.java +++ b/robot-core/src/main/java/org/obolibrary/robot/MergeOperation.java @@ -185,7 +185,7 @@ public static void mergeInto( .addAxioms(targetOntology, ontology.getAxioms(Imports.INCLUDED)); } else { // Merge the ontologies with imports excluded - Set imports = targetOntology.getImports(); + Set imports = targetOntology.getDirectImports(); try { OntologyHelper.removeImports(targetOntology); } catch (Exception e) {