Files
galaxy/lib
Daniel Blankenberg e835df2063 Enhance change_format tag of tool outputs to allow the use of Grouping Constructs. Objects can be accessed using the previously accepted bare name or using the same style as used within templates (e.g. the tool command tag).
e.g.

  <outputs>
    <data name="output_file" format="fastqsanger">
      <change_format>
        <when input="input_type" value="cssanger" format="fastqcssanger" />
        <when input="options_type.output_type" value="solexa" format="fastqsolexa" />
        <when input="options_type.output_type" value="illumina" format="fastqillumina" />
        <when input="options_type.output_type" value="sanger" format="fastqsanger" />
        <when input="options_type.output_type" value="cssanger" format="fastqcssanger" />
      </change_format>
    </data>
  </outputs>

or

  <outputs>
    <data name="output_file" format="fastqsanger">
      <change_format>
        <when input="$input_type" value="cssanger" format="fastqcssanger" />
        <when input="${options_type.output_type}" value="solexa" format="fastqsolexa" />
        <when input="${options_type.output_type}" value="illumina" format="fastqillumina" />
        <when input="${options_type.output_type}" value="sanger" format="fastqsanger" />
        <when input="${options_type.output_type}" value="cssanger" format="fastqcssanger" />
      </change_format>
    </data>
  </outputs>

where 'options_type' is the name of the grouping parameter and 'output_type' is the name of a parameter found in this group and 'input_type' is the name of a parameter not found within a group.
2010-03-03 14:30:32 -05:00
..