## ## Generate the content block for a myExperiment request. ## <%! from xml.sax.saxutils import escape import textwrap, base64 %> ${workflow_dict_packed} %for step_num, step in workflow_steps.items(): ${step_num} ${step['name']} ${step['tool_id']} ${escape( step['annotation'] )} %for input in step['inputs']: ${escape( input['name'] )} ${escape( input['description'] )} %endfor %for output in step['outputs']: ${escape( output['name'] )} ${output['type']} %endfor %endfor %for step_num, step in workflow_steps.items(): %for input_name, input_connection in step['input_connections'].items(): ${input_connection['id']} ${input_connection['output_name']} ${step_num} ${input_name} %endfor %endfor