commit/galaxy-central: jmchilton: Fill out tool test for configured discovered datasets.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ebbc5e725c62/ Changeset: ebbc5e725c62 User: jmchilton Date: 2014-09-03 21:17:49 Summary: Fill out tool test for configured discovered datasets. Add new example based on Anton's bamtools split work and label all the outputs as visible - this should likely be the default but until it is might as well demonstrate them as visible since that is how they are most useful. Affected #: 1 file diff -r e128330d8e78e3d2d7bbc5f60c7515fab9762626 -r ebbc5e725c62e22926e5c0141aeaa95a3da20239 test/functional/tools/multi_output_configured.xml --- a/test/functional/tools/multi_output_configured.xml +++ b/test/functional/tools/multi_output_configured.xml @@ -10,6 +10,8 @@ echo "3" > subdir2/CUSTOM_3.txt; mkdir subdir3; echo "Foo" > subdir3/Foo; + echo "mapped reads" > split_bam_.MAPPED.bam; + echo "unmapped reads" > split_bam_.UNMAPPED.bam; </command><inputs><param name="num_param" type="integer" value="7" /> @@ -17,9 +19,10 @@ </inputs><outputs><data format="txt" name="report"> - <discover_datasets pattern="__designation_and_ext__" directory="subdir1" /> - <discover_datasets pattern="CUSTOM_(?P<designation>.+)\.(?P<ext>.+)" directory="subdir2" /> - <discover_datasets pattern="__designation__" directory="subdir3" ext="input" /> + <discover_datasets pattern="__designation_and_ext__" directory="subdir1" visible="true" /> + <discover_datasets pattern="CUSTOM_(?P<designation>.+)\.(?P<ext>.+)" directory="subdir2" visible="true" /> + <discover_datasets pattern="__designation__" directory="subdir3" ext="input" visible="true" /> + <discover_datasets pattern="split_bam_\.(?P<designation>([A-Z-])\w+)\.bam" ext="txt" visible="true" /></data></outputs><tests> @@ -45,6 +48,12 @@ <discovered_dataset designation="Foo" ftype="txt"><assert_contents><has_line line="Foo" /></assert_contents></discovered_dataset> + <discovered_dataset designation="MAPPED" ftype="txt"> + <assert_contents><has_line line="mapped reads" /></assert_contents> + </discovered_dataset> + <discovered_dataset designation="UNMAPPED" ftype="txt"> + <assert_contents><has_line line="unmapped reads" /></assert_contents> + </discovered_dataset></output></test></tests> Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org