Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 23, 2024
1 parent 5389c39 commit 443636a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sparqlunicorn_ontdoc/docgeneration.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,8 +986,9 @@ def formatPredicate(self,tup,baseurl,checkdepth,tablecontents,graph,reverse):

def getSubjectPagesForNonGraphURIs(self,uristorender,graph,prefixnamespace,corpusid,outpath,nonnsmap,baseurl,uritotreeitem,labeltouri):
nonnsuris=len(uristorender)
counter=0
for uri in uristorender:
counter=0
print("NONS URIS TO RENDER: "+str(uristorender))
for uri in uristorender:
label=""
if prefixnamespace not in uri:
for tup in graph.predicate_objects(URIRef(uri)):
Expand All @@ -1007,7 +1008,7 @@ def getSubjectPagesForNonGraphURIs(self,uristorender,graph,prefixnamespace,corpu
if counter%10==0:
self.updateProgressBar(counter, nonnsuris, "NonNS URIs")
self.createHTML(outpath+"nonns_"+DocUtils.shortenURI(uri)+".html", None, URIRef(uri), baseurl, graph.subject_predicates(URIRef(uri),True), graph, str(corpusid) + "_search.js", str(corpusid) + "_classtree.js", None, self.license, None, Graph(),uristorender,True,label)
counter+=1
counter+=1
return labeltouri

def polygonToPath(self,svg):
Expand Down

0 comments on commit 443636a

Please sign in to comment.