diff qiime2/qiime_sample-classifier_classify-samples.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.xml	Wed Jul 31 03:06:00 2019 -0400
+++ b/qiime2/qiime_sample-classifier_classify-samples.xml	Mon Aug 05 01:29:30 2019 -0400
@@ -10,15 +10,15 @@
 --i-table=$itable
 --m-metadata-column="$mmetadatacolumn"
 
-#if $ptestsize:
+#if str($ptestsize):
  --p-test-size=$ptestsize
 #end if
 
-#if $pstep:
+#if str($pstep):
  --p-step=$pstep
 #end if
 
-#if $pcv:
+#if str($pcv):
  --p-cv=$pcv
 #end if
 
@@ -58,18 +58,12 @@
 #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-sample-estimator=osampleestimator
 --o-feature-importance=ofeatureimportance
 --o-predictions=opredictions
@@ -145,9 +139,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>