Skip to content

Commit

Permalink
Edits to stages/01_process.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmikhail committed Nov 28, 2024
1 parent 1a95021 commit 8aff767
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stages/01_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

print("Creating HDT file ...")
# Serialize the graph to a string in Turtle format
turtle_file = str(cachedir / "temp_graph.ttl")
turtle_file = str(cachedir / "annotations.ttl")
g.serialize(destination=turtle_file, format='turtle')

# Convert the Turtle file to an HDT file
Expand All @@ -132,5 +132,5 @@
subprocess.run(["rdf2hdt", turtle_file, hdt_file], check=True)
print(f"Done writing HDT file to {hdt_file}")

# delete cache directory
shutil.rmtree(pathlib.Path('cache'))
# # delete cache directory
# shutil.rmtree(pathlib.Path('cache'))

0 comments on commit 8aff767

Please sign in to comment.