From b82f1c191227cf452e8c827c987a5b9c24c43ea7 Mon Sep 17 00:00:00 2001 From: SC Date: Mon, 22 Jan 2018 16:46:50 -0800 Subject: [PATCH] more agressive attempt at #234 --- .../src/main/java/owltools/cli/SolrCommandRunner.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/OWLTools-Runner/src/main/java/owltools/cli/SolrCommandRunner.java b/OWLTools-Runner/src/main/java/owltools/cli/SolrCommandRunner.java index 8daf748fa..183aa66bd 100644 --- a/OWLTools-Runner/src/main/java/owltools/cli/SolrCommandRunner.java +++ b/OWLTools-Runner/src/main/java/owltools/cli/SolrCommandRunner.java @@ -596,7 +596,7 @@ else if (opts.nextEq("--noExitIfLoadFails")) { continue; } - // Some sanity checks--some of the genereated ones are problematic. + // Some sanity checks--some of the generated ones are problematic. currentReasoner = reasonerFactory.createReasoner(model); boolean consistent = currentReasoner.isConsistent(); if(consistent == false){ @@ -604,15 +604,6 @@ else if (opts.nextEq("--noExitIfLoadFails")) { LOG.warn("Skip since inconsistent: " + fname); continue; } - Set unsatisfiable = currentReasoner.getUnsatisfiableClasses().getEntitiesMinusBottom(); - if (exitIfUnsatisfiable && unsatisfiable.isEmpty() == false) { - LOG.warn("Unsatisfiable: " + fname+" == "+unsatisfiable); - continue; - } - if (removeUnsatisfiableModels && unsatisfiable.isEmpty() == false) { - LOG.warn("Skip since unsatisfiable: " + fname); - continue; - } ModelAnnotationSolrDocumentLoader loader = null; try {