I am trying to write a tool whose input and output types are defined from an option selected by the user.

The first input is defined from a select list using a loc file - no probs
      <param name="source_select" type="select" label="Option 1">
                  <options from_file="tool_indices.loc">
                        <column name="name" index="0"/>
                        <column name="value" index="1"/>
                        <column name="inputType" index="2"/>
                        <column name="outType" index="3"/>
                  </options>
      </param>

Based on the selection I want to define the allowed input types (above in column 3) and specify the output type (above in column 4). 

Are the values of the select columns available for use in conditionals/change_format operations? If not, how can I get around it? What other methods of attack are there for the problem.


On a related issue, if th user specifies their input file, can i access the metadata for its type and filter the select list based on the input file?

Cheers
Dennis