Skip to content

Commit

Permalink
Merge pull request #75 from maxhbr/fixContextFileGeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
zvr authored Nov 7, 2023
2 parents b981d0f + 9aafd43 commit 7c56c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec_parser/owl_to_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def convert_spdx_owl_to_jsonld_context(spdx_owl: str, out_dir: str):

fname = path.join(out_dir, "context.json")
with open(fname, "w") as f:
json.dump(context_dict, f)
json.dump({ "@context": context_dict}, f)


def get_name_from_node_id(node_id) -> str:
Expand Down

0 comments on commit 7c56c31

Please sign in to comment.