Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 21, 2024
1 parent 79d779e commit a8d246e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sparqlunicorn_ontdoc/docgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ def generateOntDocForNameSpace(self, prefixnamespace,dataformat="HTML"):
if tr["id"] not in classidset:
tree["core"]["data"].append(tr)
voidstats["http://rdfs.org/ns/void#classes"]=len(classidset)
voidgraph=VoidExporter.createVoidDataset(self.datasettitle,len(self.graph),voidstats,self.startconcept)
voidstats["http://rdfs.org/ns/void#triples"] = len(self.graph)
voidgraph=VoidExporter.createVoidDataset(self.datasettitle,prefixnamespace,self.deploypath,self.licenseuri,self.modtime,voidstats,self.startconcept)
self.voidstatshtml=VoidExporter.toHTML(voidstats)
with open(outpath + "style.css", 'w', encoding='utf-8') as f:
f.write(templates["stylesheet"])
Expand Down

0 comments on commit a8d246e

Please sign in to comment.