Skip to content

Commit

Permalink
Use makerdf for --print-rdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Amstutz committed Jun 23, 2016
1 parent ce00252 commit 5d9a08e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions schema_salad/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@

def printrdf(workflow, wf, ctx, sr):
# type: (str, Union[List, Dict[Any, Any], str, unicode], Dict[unicode, Any], str) -> None
g = Graph().parse(data=json.dumps(wf), format='json-ld',
location=workflow, context=ctx)
g = jsonld_context.makerdf(workflow, wf, ctx)
print(g.serialize(format=sr))


Expand Down

0 comments on commit 5d9a08e

Please sign in to comment.