Skip to content

Commit

Permalink
add fix for viz
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Dec 5, 2023
1 parent 17599d3 commit 739b9cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyscal_rdf/visualize.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def get_string_from_URI(x):
rawsplit = raw.split(":")
if len(rawsplit) > 1:
return "_".join(rawsplit), "BNode"

rawsplit = raw.split(':')
if len(rawsplit) == 2:
return "_".join(rawsplit), "BNode"

#just a normal url split now
rawsplit = raw.split("/")
Expand Down

0 comments on commit 739b9cc

Please sign in to comment.