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="get_info.py"/> 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.
Heads up! This is a static archive of our support site. Please go to help.galaxyproject.org if you want to reach the Galaxy community. If you want to search this archive visit the Galaxy Hub search
Question: Get Options from a File During Job Creation
0
bornea27 • 20 wrote:
ADD COMMENT
• link
•
modified 2.8 years ago
by
bensellak.taoufik • 0
•
written
2.8 years ago by
bornea27 • 20
0
bensellak.taoufik • 0 wrote:
Hello,
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}
<configfile>
in your command you pass the param as
--configfile ${
getparamone}
hope that hepls.
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: 181 users visited in the last hour
Hi
It is difficult to help without seeing more of your code. Also, have you looked into the 'data_ref' attribute?
Regards, Hans-Rudolf