Files
galaxy/test/functional/tool-data/sample_tool_data_tables.xml
mvdbeek 7d600b0b90 Add reference_data input for YAML tools
User-defined tools had no way to read reference data installed through
tool data tables. A `reference_data` input offers a table's entries as
a select and hands the chosen entry to expressions like a dataset, with
`path`, `basename`, `source` and the table's other columns under
`metadata`. `multiple: true` supplies a list of entries.

It has its own parameter model, ReferenceDataParameterModel
(gx_reference_data), which runtimeify, the YAML v1 parameter allowlist
and the test case conversions match on. The tool form renders it as a
select.

GalaxyUserTool can only read tables an admin marked `user_accessible`,
checked on the form and again when the job runs. Admin-installed
GalaxyTool YAML tools can read every table.

Refs #22700
2026-11-10 19:05:07 +01:00

19 lines
644 B
XML

<tables>
<table name="testalpha" comment_char="#">
<columns>value, name, path</columns>
<file path="${__HERE__}/testalpha.loc" />
</table>
<table name="testbeta" comment_char="#">
<columns>value, path</columns>
<file path="${__HERE__}/testbeta.loc" />
</table>
<table name="test_fasta_indexes" comment_char="#" user_accessible="true">
<columns>value, dbkey, name, path</columns>
<file path="${__HERE__}/fasta_indexes.loc" />
</table>
<table name="test_duplicate_values" comment_char="#">
<columns>value, name, version</columns>
<file path="${__HERE__}/duplicate_values.loc" />
</table>
</tables>