Mercurial > repos > florianbegusch > qiime2_suite
diff qiime2/qiime_sample-classifier_classify-samples-from-dist.xml @ 5:a025a4a89e07 draft
Uploaded
author | florianbegusch |
---|---|
date | Mon, 05 Aug 2019 01:29:30 -0400 |
parents | 370e0b6e9826 |
children | f190567fe3f6 |
line wrap: on
line diff
--- a/qiime2/qiime_sample-classifier_classify-samples-from-dist.xml Wed Jul 31 03:06:00 2019 -0400 +++ b/qiime2/qiime_sample-classifier_classify-samples-from-dist.xml Mon Aug 05 01:29:30 2019 -0400 @@ -10,7 +10,7 @@ --i-distance-matrix=$idistancematrix --m-metadata-column="$mmetadatacolumn" -#if $pk: +#if str($pk): --p-k=$pk #end if @@ -19,15 +19,8 @@ #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 @@ -77,9 +70,7 @@ <option value="greyscale">greyscale</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>