forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test to verify/document behavior of mapping over multi-selects.
- Loading branch information
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
lib/galaxy_test/workflow/multi_select_mapping.gxwf-tests.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
- doc: | | ||
Test to verify that mapping a list of a multi-select parameter maps over the job. | ||
Ideally there would be a way to specify that the list should be reduced into the | ||
parameter. It might work to have an expression tool to combine the list into a | ||
string. | ||
job: | ||
input: | ||
type: collection | ||
collection_type: list | ||
elements: | ||
- identifier: the_example_2 | ||
content: '"ex2"' | ||
ext: 'expression.json' | ||
- identifier: the_example_5 | ||
content: '"ex5"' | ||
ext: 'expression.json' | ||
outputs: | ||
output: | ||
elements: | ||
the_example_2: | ||
asserts: | ||
- that: has_text | ||
text: 'ex2' | ||
the_example_5: | ||
asserts: | ||
- that: has_text | ||
text: 'ex5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
class: GalaxyWorkflow | ||
inputs: | ||
input: | ||
type: collection | ||
collection_type: list | ||
outputs: | ||
output: | ||
outputSource: map_over_multi_select/output2 | ||
steps: | ||
map_over_multi_select: | ||
tool_id: multi_select | ||
in: | ||
select_ex: input | ||
select_optional: input |