Skip to content

Commit

Permalink
dont get upset with missing classes in InformationContent
Browse files Browse the repository at this point in the history
  • Loading branch information
reality committed Jun 3, 2021
1 parent 9442471 commit 7bf703c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion klarigi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ jacocoTestReport {
}
}

version = '0.0.1'
version = '0.0.2'
10 changes: 7 additions & 3 deletions klarigi/src/main/groovy/klarigi/InformationContent.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7bf703c

Please sign in to comment.