diff --git a/klarigi/build.gradle b/klarigi/build.gradle index 28032d0..431037e 100644 --- a/klarigi/build.gradle +++ b/klarigi/build.gradle @@ -78,4 +78,4 @@ jacocoTestReport { } } -version = '0.0.1' +version = '0.0.2' diff --git a/klarigi/src/main/groovy/klarigi/InformationContent.groovy b/klarigi/src/main/groovy/klarigi/InformationContent.groovy index bc7a2a3..2121d69 100644 --- a/klarigi/src/main/groovy/klarigi/InformationContent.groovy +++ b/klarigi/src/main/groovy/klarigi/InformationContent.groovy @@ -75,10 +75,14 @@ public class InformationContent { } def getInformationContent(cList) { - cList.collectEntries { c -> - def cTerm = factory.getURI(c) - [(c):engine.getIC(icConf, cTerm)] + def res = [:] + cList.each { c -> + try { + def cTerm = factory.getURI(c) + res[c] = engine.getIC(icConf, cTerm) + } catch(e) {} } + res } static def Write(ic, path) {