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.
If i did understand your aime you could define some configfile tags something like :
#set paramone = ''
##inside your code to extract your param (cheetah code/python)
in your command you pass the param as
hope that hepls.