Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6253 from mvdbeek/mapping_over_from_param_fixes
Mapping over from_param fixes
- Loading branch information
Showing
5 changed files
with
56 additions
and
8 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
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
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
32 changes: 32 additions & 0 deletions
32
test/functional/tools/output_action_change_format_paired.xml
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,32 @@ | ||
<tool id="output_action_change_format_paired" name="output_action_change_paired" version="1.0.0"> | ||
<command> | ||
printf "1\t2\n" > out1; | ||
</command> | ||
<inputs> | ||
<param type="data_collection" name="input" format="data" collection_type="paired" /> | ||
</inputs> | ||
<outputs> | ||
<data name="out1" from_work_dir="out1"> | ||
<actions> | ||
<action type="format"> | ||
<option type="from_param" name="input" param_attribute="forward.ext" /> | ||
</action> | ||
</actions> | ||
</data> | ||
</outputs> | ||
<tests> | ||
<test> | ||
<param name="input"> | ||
<collection type="paired"> | ||
<element name="forward" value="simple_line.txt" ftype="txt" /> | ||
<element name="reverse" value="simple_line.txt" ftype="txt" /> | ||
</collection> | ||
</param> | ||
<output name="out1" ftype="txt"> | ||
<assert_contents> | ||
<has_line line="1	2" /> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
</tests> | ||
</tool> |
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