Hey Richard,

If you could, submit a pull request to galaxy-central through bitbucket.  Even 
for changes this small, it really helps keep things organized and preserves the 
change history.

Thanks!

Dannon

On Jan 30, 2013, at 2:54 PM, Richard Park <rp...@bu.edu> wrote:

> Hi Guys, 
> 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. 
> thanks, 
> Richard 
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
> 
>  http://lists.bx.psu.edu/

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to