Question: Get Options from a File During Job Creation
gravatar for bornea27
2.4 years ago by
United States
bornea2720 wrote:

I want to get my tool to quickly read the dataset selected and get options for a param type="select" prior to submitting a job. I am attempting to use a <code file=""/> that will return the options but no matter how I try to parse in the inputs variable name in  <param name="bait1" type="select" display="radio" dynamic_options="get_info(input)"/> I get a HistoryDatasetAssociation or NoneType for the input. How can I make it so rather than attempting to bring in the association I am getting the actual dataset.

galaxy • 534 views
ADD COMMENTlink modified 2.3 years ago by bensellak.taoufik0 • written 2.4 years ago by bornea2720


It is difficult to help without seeing more of your code. Also, have you looked into the 'data_ref' attribute?

Regards, Hans-Rudolf

ADD REPLYlink written 2.4 years ago by Hotz, Hans-Rudolf1.8k
gravatar for bensellak.taoufik
2.3 years ago by
bensellak.taoufik0 wrote:


If i did understand your aime you could define some configfile tags something like :


<configfile name="getparamone">

#set paramone = ''

##inside your code to extract your param (cheetah code/python)

paramone ${paramone}


in your command you pass the param as

--configfile ${getparamone}

hope that hepls.

ADD COMMENTlink modified 2.3 years ago • written 2.3 years ago by bensellak.taoufik0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 85 users visited in the last hour