Mercurial > repos > florianbegusch > qiime2_suite
diff qiime2/qiime_sample-classifier_regress-samples-ncv.xml @ 5:a025a4a89e07 draft
Uploaded
author | florianbegusch |
---|---|
date | Mon, 05 Aug 2019 01:29:30 -0400 |
parents | 370e0b6e9826 |
children | de4c22a52df4 |
line wrap: on
line diff
--- a/qiime2/qiime_sample-classifier_regress-samples-ncv.xml Wed Jul 31 03:06:00 2019 -0400 +++ b/qiime2/qiime_sample-classifier_regress-samples-ncv.xml Mon Aug 05 01:29:30 2019 -0400 @@ -46,18 +46,13 @@ #end if -#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 + --o-predictions=opredictions --o-feature-importance=ofeatureimportance ; @@ -91,9 +86,9 @@ <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> <data format="qza" label="${tool.name} on ${on_string}: predictions.qza" name="opredictions"/>