tools fails only in workflow

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

tools fails only in workflow

Christian Hundsrucker-3
Dear all,

I developed a tool which allows an optional selection as input amongst
others. It works quite neat if I run it via "Analyse Data".
Actually, it only breaks in one condition:
If I try to run it "as a Workflow" and set the "multiple selection
input" to be set at runtime AND do not select anything at runtime it'll
raise a Cheetah error.
Even if I select nothing but prior to runtime as workflow it works fine

The multiple selection is based on a data table/ loc-file.

Any ideas?


relevant tool specification snippet:

     <param [...] type="select" optional="true" multiple="true"
display="checkboxes" [...]>
         <options from_data_table="fmi_[...]"/>

Cheetah error:

Traceback (most recent call last):
   File "[...]/galaxy/galaxy_dist/lib/galaxy/jobs/runners/",
line 123, in prepare_job
   File "[...]/galaxy/galaxy_dist/lib/galaxy/jobs/", line
702, in prepare
     self.command_line = self.tool.build_command_line( param_dict )
   File "[...]/galaxy/galaxy_dist/lib/galaxy/tools/", line
2639, in build_command_line
     command_line = fill_template( self.command, context=param_dict )
   File "[...]/galaxy/galaxy_dist/lib/galaxy/util/", line 9,
in fill_template
     return str( Template( source=template_text, searchList=[context] ) )
line 1004, in __str__
     return getattr(self, mainMethName)()
line 89, in respond
line 89, in <lambda>
IndexError: list index out of range

changeset:   11219:5c789ab4144a
branch:      stable

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:

To search Galaxy mailing lists use the unified search at: