galaxy.tools.parameters.basic.RuntimeValue not str

classic Classic list List threaded Threaded
2 messages Options
| Threaded
Open this post in threaded view
|

galaxy.tools.parameters.basic.RuntimeValue not str

Pandorin
Hi all!
Maybe somebody faced with this problem:

1) in my wf used tool with:
"u'model_class': u'Conditional',
     u'type': u'conditional',
     u'name': u'reference_genome'}], "

2) when i run wf via web - all ok, and on a second step:
"Select a reference genome" is "test" (in view details)

But, when i run wf via api:

param = {u'mapper_easy' :{u'param': u'reference_genome|index', u'value': u'test'}}
nuser.workflows.run_workflow(workflow_id=wf_id, dataset_map=dataset_map, params=param, history_id=hist_id)

wf started and on a second step is failed... In details:
"Select a reference genome" is "<galaxy.tools.parameters.basic.RuntimeValue object at 0x7f5374266850>"

Any help is appreciated. Thanks!

___________________________________________________________
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:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
| Threaded
Open this post in threaded view
|

Re: galaxy.tools.parameters.basic.RuntimeValue not str

John Chilton-4
It looks like the workflow submission code was unable to map your
parameter "reference_genome|index" to the correct tool runtime value.
Is there any chance you can post the tool and/or the workflow? Also -
I am assuming here the tool_id is mapper_easy - is that correct?

-John

On Fri, Jan 2, 2015 at 10:26 AM, Pandori n <[hidden email]> wrote:

> Hi all!
> Maybe somebody faced with this problem:
>
> 1) in my wf used tool with:
> "u'model_class': u'Conditional',
>      u'type': u'conditional',
>      u'name': u'reference_genome'}], "
>
> 2) when i run wf via web - all ok, and on a second step:
> "Select a reference genome" is "test" (in view details)
>
> But, when i run wf via api:
>
> param = {u'mapper_easy' :{u'param': u'reference_genome|index', u'value':
> u'test'}}
> nuser.workflows.run_workflow(workflow_id=wf_id, dataset_map=dataset_map,
> params=param, history_id=hist_id)
>
> wf started and on a second step is failed... In details:
> "Select a reference genome" is "<galaxy.tools.parameters.basic.RuntimeValue
> object at 0x7f5374266850>"
>
> Any help is appreciated. Thanks!
>
> ___________________________________________________________
> 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:
>   https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>   http://galaxyproject.org/search/mailinglists/
___________________________________________________________
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:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/