Skip to content
Snippets Groups Projects
Commit 9c887cc4 authored by Charlotte Hausman's avatar Charlotte Hausman Committed by Charlotte Hausman
Browse files

update comment

parent 279caa5f
No related branches found
No related tags found
1 merge request!59SWS-6: workflows now start correctly with correct arguments
Pipeline #434 passed
......@@ -118,7 +118,9 @@ class PrepareAndRunWorkflow(CapabilityStep):
# FIXME: Add support for files
files = []
if parameters is not None:
parameters = json.dumps(parameters) # convert to json string
# convert to json string because json cares about single vs. double quotes.
# DO NOT TAKE THIS OUT! Python will yell at you.
parameters = json.dumps(parameters)
workflow_args = json.loads(parameters)
engine.submit_workflow_request(execution.id, workflow_name, workflow_args, files)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment