-
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.
Move empty sort workflow test into workflow test framework.
- Loading branch information
Showing
3 changed files
with
42 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
16 changes: 16 additions & 0 deletions
16
lib/galaxy_test/workflow/empty_collection_sort.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,16 @@ | ||
- doc: | | ||
Test to verify collection operations like the sort tool work fine with empty collections. | ||
job: | ||
input: | ||
collection_type: list | ||
elements: | ||
- identifier: i1 | ||
content: "0" | ||
filter_file: i1 | ||
outputs: | ||
output: | ||
elements: | ||
i1: | ||
asserts: | ||
- that: has_text | ||
text: "0" |
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,26 @@ | ||
class: GalaxyWorkflow | ||
inputs: | ||
input: collection | ||
filter_file: data | ||
outputs: | ||
output: | ||
outputSource: merge_collection/output | ||
steps: | ||
filter_collection: | ||
tool_id: __FILTER_FROM_FILE__ | ||
in: | ||
input: input | ||
how|filter_source: filter_file | ||
sort_collection_1: | ||
tool_id: __SORTLIST__ | ||
in: | ||
input: filter_collection/output_filtered | ||
sort_collection_2: | ||
tool_id: __SORTLIST__ | ||
in: | ||
input: filter_collection/output_discarded | ||
merge_collection: | ||
tool_id: __MERGE_COLLECTION__ | ||
in: | ||
inputs_0|input: sort_collection_1/output | ||
inputs_1|input: sort_collection_2/output |