Skip to content

Commit

Permalink
Add missing IMAGE for JSON-LD outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
lszeremeta committed Mar 24, 2021
1 parent 1e8d67d commit 1cc38c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions molstruct/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def jsonld(reader, limit):
out_str += ' "description" : ' + json.dumps(row.get(n.DESCRIPTION)) + ',\n'
if row.get(n.DISAMBIGUATING_DESCRIPTION):
out_str += ' "disambiguatingDescription" : ' + json.dumps(row.get(n.DISAMBIGUATING_DESCRIPTION)) + ',\n'
if row.get(n.IMAGE):
out_str += ' "image" : ' + json.dumps(row.get(n.IMAGE)) + ',\n'
if row.get(n.ADDITIONAL_TYPE):
out_str += ' "additionalType" : ' + json.dumps(row.get(n.ADDITIONAL_TYPE)) + ',\n'
if row.get(n.ALTERNATE_NAME):
Expand Down

0 comments on commit 1cc38c2

Please sign in to comment.