Skip to content

Commit

Permalink
Update ttl_to_context.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark authored Jun 23, 2024
1 parent 50ed671 commit 3adb9d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/scripts/ttl_to_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def generate_jsonld_context(ttl_file, predicate_uri, label_uri='http://www.w3.or

# Example usage
filename = 'battery-inferred.ttl'
parent_dir = os.path.dirname(os.path.abspath(__file__))
parent_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
file_path = os.path.join(parent_dir, '..', filename)

# Convert the file path to a file URI
Expand Down

0 comments on commit 3adb9d7

Please sign in to comment.