commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/5722c0ff5d7a/ changeset: 5722c0ff5d7a user: Clare Sloggett date: 2012-08-28 09:54:15 summary: In workflows api, when show workflow request is made, now displaying info on steps and connectors. affected #: 1 file diff -r 80dd03582ea9041d0c897b3a2c58e12a5bb494bb -r 5722c0ff5d7a1fcf2b568e4f1710322ec2b9df08 lib/galaxy/web/api/workflows.py --- a/lib/galaxy/web/api/workflows.py +++ b/lib/galaxy/web/api/workflows.py @@ -73,6 +73,16 @@ # Eventually, allow regular tool parameters to be inserted and modified at runtime. # p = step.get_required_parameters() item['inputs'] = inputs + steps = {} + for step in latest_workflow.steps: + steps[step.id] = {'id': step.id, + 'type': step.type, + 'tool_id': step.tool_id, + 'input_steps': {}} + for conn in step.input_connections: + steps[step.id]['input_steps'][conn.input_name] = {'source_step': conn.output_step_id, + 'step_output': conn.output_name} + item['steps'] = steps return item @web.expose_api https://bitbucket.org/galaxy/galaxy-central/changeset/36b70e29192f/ changeset: 36b70e29192f user: dannon date: 2012-08-29 17:41:13 summary: Merge. affected #: 1 file diff -r cc1c82662d88e0953d8df588d6449020eb25d0bf -r 36b70e29192f0ddb92f36ddd6c9b3fcbf996783d lib/galaxy/web/api/workflows.py --- a/lib/galaxy/web/api/workflows.py +++ b/lib/galaxy/web/api/workflows.py @@ -75,6 +75,16 @@ # Eventually, allow regular tool parameters to be inserted and modified at runtime. # p = step.get_required_parameters() item['inputs'] = inputs + steps = {} + for step in latest_workflow.steps: + steps[step.id] = {'id': step.id, + 'type': step.type, + 'tool_id': step.tool_id, + 'input_steps': {}} + for conn in step.input_connections: + steps[step.id]['input_steps'][conn.input_name] = {'source_step': conn.output_step_id, + 'step_output': conn.output_name} + item['steps'] = steps return item @web.expose_api Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket