I've just updated to the latest galaxy-central and notice a problem when trying to export workflows via the api. In galaxy-central/lib/webapps/galaxy/api/workflows.py, I just need to add in an extra tab in lines 88 and 89, the patch is below.
#### PATCH #### using hg diff
diff -r 43fa4cb72e0f lib/galaxy/webapps/galaxy/api/workflows.py
--- a/lib/galaxy/webapps/galaxy/api/workflows.py Wed Jan 30 13:49:43 2013 -0500
+++ b/lib/galaxy/webapps/galaxy/api/workflows.py Wed Jan 30 14:43:46 2013 -0500
@@ -85,8 +85,8 @@
'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,
+ 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
Could someone add this simple fix? I'd really appreciate it. Please let me know if I should be submtting a patch or pull request somewhere else.