mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-11-22 06:52:13 +08:00
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
19 lines
644 B
XML
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>
|