Skip to content

Commit

Permalink
Migrate another collection flatten workflow test to workflow test fra…
Browse files Browse the repository at this point in the history
…mework.
  • Loading branch information
jmchilton committed Jul 26, 2024
1 parent 075c387 commit daf961b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
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"
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

0 comments on commit daf961b

Please sign in to comment.