commit/galaxy-central: natefoo: Enable the ftype attribute for test outputs, fixes the sam-to-bam test.
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/9e717f1746c8/ changeset: r5149:9e717f1746c8 user: natefoo date: 2011-03-01 21:46:35 summary: Enable the ftype attribute for test outputs, fixes the sam-to-bam test. affected #: 2 files (116 bytes) --- a/lib/galaxy/tools/__init__.py Tue Mar 01 15:21:25 2011 -0500 +++ b/lib/galaxy/tools/__init__.py Tue Mar 01 15:46:35 2011 -0500 @@ -642,6 +642,8 @@ attributes['delta'] = int( attrib.pop( 'delta', '10000' ) ) attributes['sort'] = util.string_as_bool( attrib.pop( 'sort', False ) ) attributes['extra_files'] = [] + if 'ftype' in attrib: + attributes['ftype'] = attrib['ftype'] for extra in output_elem.findall( 'extra_files' ): # File or directory, when directory, compare basename # by basename --- a/tools/samtools/sam_to_bam.xml Tue Mar 01 15:21:25 2011 -0500 +++ b/tools/samtools/sam_to_bam.xml Tue Mar 01 15:46:35 2011 -0500 @@ -60,7 +60,7 @@ --><param name="index_source" value="cached" /><param name="input1" value="3.sam" ftype="sam" dbkey="equCab2" /> - <output name="output1" file="sam_to_bam_out2.bam" /> + <output name="output1" file="sam_to_bam_out2.bam" ftype="bam" /></test></tests><help> 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)
-
Bitbucket