-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate another collection flatten workflow test to workflow test fra…
…mework.
- Loading branch information
Showing
3 changed files
with
36 additions
and
38 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
lib/galaxy_test/workflow/flatten_collection_over_execution.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,19 @@ | ||
- doc: | | ||
Test to verify collection flatten collection operation mid workflow. | ||
job: | ||
input_fastqs: | ||
collection_type: list | ||
elements: | ||
- identifier: samp1 | ||
content: "0 mycoolline\n1 mysecondline\n" | ||
outputs: | ||
out: | ||
elements: | ||
'samp1-0': | ||
asserts: | ||
- that: has_text | ||
text: "mycoolline" | ||
'samp1-1': | ||
asserts: | ||
- that: has_text | ||
text: "mysecondline" |
17 changes: 17 additions & 0 deletions
17
lib/galaxy_test/workflow/flatten_collection_over_execution.gxwf.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,17 @@ | ||
class: GalaxyWorkflow | ||
inputs: | ||
input_fastqs: collection | ||
outputs: | ||
out: | ||
outputSource: flatten/output | ||
steps: | ||
split_up: | ||
tool_id: collection_split_on_column | ||
in: | ||
input1: input_fastqs | ||
flatten: | ||
tool_id: '__FLATTEN__' | ||
state: | ||
join_identifier: '-' | ||
in: | ||
input: split_up/split_output |