Mercurial > repos > florianbegusch > qiime2_suite
diff qiime2/qiime_sample-classifier_split-table.xml @ 5:a025a4a89e07 draft
Uploaded
author | florianbegusch |
---|---|
date | Mon, 05 Aug 2019 01:29:30 -0400 |
parents | 914fa4daf16a |
children | f190567fe3f6 |
line wrap: on
line diff
--- a/qiime2/qiime_sample-classifier_split-table.xml Wed Jul 31 03:06:00 2019 -0400 +++ b/qiime2/qiime_sample-classifier_split-table.xml Mon Aug 05 01:29:30 2019 -0400 @@ -12,21 +12,14 @@ -#if $input_files_mmetadatafile: -#def list_dict_to_string(list_dict): - #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') - #for d in list_dict[1:]: - #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name') - #end for - #return $file_list -#end def - - --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) +#if $metadatafile: + --m-metadata-file=$metadatafile #end if -#if $ptestsize: + +#if str($ptestsize): --p-test-size=$ptestsize #end if @@ -60,9 +53,7 @@ <option value="ignore">ignore</option> </param> - <repeat name="input_files_mmetadatafile" optional="True" title="--m-metadata-file"> - <param label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [optional]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" /> - </repeat> + <param label="--m-metadata-file METADATA" name="metadatafile" type="data" format="tabular,qza,no_unzip.zip" /> </inputs> <outputs>