Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/release_18.09'
- Loading branch information
Showing
7 changed files
with
42 additions
and
24 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
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
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 |
---|---|---|
@@ -1,15 +1,33 @@ | ||
<tool id="identifier_collection" name="identifier_collection"> | ||
<tool id="identifier_collection" name="identifier_collection" version="0.1"> | ||
<command> | ||
#for $input in $input1: | ||
echo '$input.element_identifier' >> 'output1'; | ||
#end for | ||
</command> | ||
<inputs> | ||
<param type="data_collection" collection_type="list" name="input1" label="Input 1" /> | ||
<param type="data_collection" collection_type="list,list:paired" name="input1" label="Input 1" /> | ||
</inputs> | ||
<outputs> | ||
<data name="output1" format="tabular" from_work_dir="output1" /> | ||
</outputs> | ||
<tests> | ||
<!-- test getting identifier for list:pair collections --> | ||
<test> | ||
<param name="input1"> | ||
<collection type="list:paired"> | ||
<element name="i1"> | ||
<collection type="paired"> | ||
<element name="forward" value="simple_line.txt" /> | ||
<element name="reverse" value="simple_line_alternative.txt" /> | ||
</collection> | ||
</element> | ||
</collection> | ||
</param> | ||
<output name="output1"> | ||
<assert_contents> | ||
<has_line line="i1" /> | ||
</assert_contents> | ||
</output> | ||
</test> | ||
</tests> | ||
</tool> |