Skip to content

Commit

Permalink
Update write_repo_contents.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dansand authored Apr 26, 2024
1 parent 24c8027 commit c43d7ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/write_repo_contents.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
#compacted = jsonld.compact(flattened,
# ctx = ["https://w3id.org/ro/crate/1.1/context",
# "https://raw.githubusercontent.com/codemeta/codemeta/master/codemeta.jsonld"])
flat_compacted = jsonld.compact(flattened,
ctx = default_context)
flat_compacted = json.dumps(jsonld.compact(flattened,
ctx = default_context))

except:
flat_compacted = dict_to_metadata(data, flat_compact_crate=True, timestamp= timestamp)
Expand Down

0 comments on commit c43d7ca

Please sign in to comment.